Skip to main content

/getAddress

  • GET | POST /getAddress { index, ownerAddress, chainId, contractType } { depositAddress }

    POST Data:

    { 
    "index" : 0,
    "chainId" : 1,
    "ownerAddress" : "0x1234....1234",
    "contractType" : "payment"
    }

    where

    • index - Index of the wallet (from 0 to GOOGOL number)
    • chainId (optional) - got from previous step. (Maybe here is a trust point: but we generate same addresses for all EVM chains)
    • ownerAddress - cold wallet address
    • contractType - type of smart contract factory. Could (payment, defi, ...)

    There are different contract types available, check contract-types/intro.md

    Response:

    {
    "depositAddress": "0x1234....1234"
    }

    This address can be safely used to deposit funds. You will get deposit information as event into your callbackUrl or polling history

    Event:

    {
    "index": 0,
    "amount": 5,
    "tokenAddress": "0x1233....12333",
    "token": "USDT",
    "walletAddress": "0x2333....5233"
    }