chain

Register Coin

This API creates a payload to register a coin on the Aptos wallet address.

💡 Compute Unit Value: 55 (Fixed)

post/defi/v1/chain/registercoin

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/chain/registercoin
  • Auth
    API key in header X-API-Key

Request body

chainId'1401' | '1400'

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

chainSymbolstring

The abbreviated chain name for queries or transactions.

fromstring required

Public blockchain address of the sender initiating the transaction. Format depends on the chain (e.g., 0xABCDEF... for EVM, G... for Stellar).

tokenAddressstring

Address of the token, user want to register on the chain.

Example request

{
  "chainId": "1401",
  "chainSymbol": "ETH",
  "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
  "tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "chainId": "1400",
    "from": "0x1c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4c",
    "to": "0x1c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4c",
    "data": "0x1c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4cdde40000000000000200000000000000000000000000000000000000000000000000000000000000010d6170746f735f6163636f756e740e7472616e736665725f636f696e73010796baeee6d7a4a8cd712144d1225cfcb6c26d0c6fefd463bd77a878e4526c741109686169725f636f696e0848616972436f696e0002201c3266eca38df87026255884192b5979eac24cf0dac7a33cfa7af0d27651fb4c080000000000000000400d0300000000006400000000000000b8128768000000000100"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.