Skip to main content

Transfer

Init transfer token or ETH from one account to another.

/initTransfer

  • GET | POST /initTransfer { chainId, tokenAddress, value, recipient } → 200 OK*

    POST Data:

    {
    "chainId" : 1,
    "tokenAddress" : "0x1234....1234",
    "ownerAddress" : "0x1234....1234",
    "value" : "100000000000000000",
    "recipient" : "0x1234....1234"
    }

    Where:

    • tokenAddress - Address of the token. Please use 0x0000000000000000000000000000000000000000 for the ETH
    • chainId - Got from previous step
    • value - User the value
    • recipient - Use the recipient

    Response:

    {
    "metamaskDeepLink" : "https://link-to-request-the-metamask-wallet/...",
    "transaction": { from, to, value, data, gas, ... }
    }