Skip to main content

ApproveController_fetchApprovalsCalldata

GET 

/v2/approval/build-tx

ApproveController_fetchApprovalsCalldata

Request

Query Parameters

    chainID stringrequired

    ID of chain, e.g Ethereum Mainnet = 1

    Example: 1
    owner stringrequired

    Wallet address of token holder

    Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
    allowanceTarget stringrequired

    Address whose spending allowance is to be checked

    Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
    tokenAddress stringrequired

    Contract address of token

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    amount stringrequired

    Amount of tokens to approve, e.g 10 USDC (6 decimals)

    Example: 10000000

Header Parameters

    API-KEY string

Responses

Return the Approval Tx Data for the given params.

Schema

    success booleanrequired

    result

    object

    required

    data string
    to string
    from string
Loading...