Skip to main content

ApproveController_fetchApprovals

GET 

https://api.socket.tech/v2/approval/check-allowance

ApproveController_fetchApprovals

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

Header Parameters

    API-KEY string

Responses​

Gives approval values of given tokens for a given owner & chainId

Schema

    success booleanrequired

    result

    object

    required

    value string
    tokenAddress string
Loading...