How OneBalance automatically handles token approvals for secure, gas-efficient transactions
approve()
functions when using OneBalance. The platform automatically manages all required approvals as part of the contract call preparation process.allowanceRequirements
, OneBalance automatically:
current allowance ≥ required amount
, no approval transaction is addedUse allowanceRequirements
allowanceRequirements
array, never in calls
Specify Exact Amounts
Verify Spender Addresses
Test with Small Amounts
allowanceRequirements
instead of manual approval calls.allowanceRequirements
matches the contract address in your calls
.