allowance

Get the allowance for a specific wallet address and token.

Request Parameters:

NameTypeDescriptionExample

networkName (required)

String

The network name for which to retrieve the balance

bsc

walletAddress (required)

String

The wallet address for which to retrieve allowance

0x3G9b800bB6805239E9F9C5027F894917C7a71e41

tokenAddress (required)

String

The token address for which to retrieve allowance

0xb58e26ac9cc14c0422c2b419b0ca555ee4dcb7cb

spenderAddress (required)

String

The address of the spender

0xba7bAC71a8Ee550d89B827FE6d67bc3dCA07b104

Request URL Example:

https://api.magpiefi.xyz/balance-manager/allowance?networkName=Ethereum&walletAddress=0x710Ba8dc63290640f14F0f823faD0Fa49B91C5Ab&tokenAddress=0x98997e1651919faeacee7b96afbb3dfd96cb6036&spenderAddress=0x710Ba8dc63290640f14F0f823faD0Fa49B91C5Ab

Response Example:

"string"

Last updated