For the complete documentation index, see llms.txt. This page is also available as Markdown.

Mint

post
/v1/tokens/mint
Body
chain_idinteger · int64Required

The chain id of the transaction.

Example: 1212101
nonceinteger · int64Required

The nonce of the transaction.

Example: 0
recipientstringRequired

The recipient address of the token mint to.

Example: 0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Ab
tokenstringRequired

The token address of the transaction.

Example: 0x6ADE9688A44D058fF181Ed64ddFAFbBE5CC742Ac
valuestringRequired

The amount of tokens to mint.

Example: 1500000000
Responses
200Success
application/json

Represents a transaction hash returned by the API.

hashstringRequiredExample: 0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c
post/v1/tokens/mint
POST /v1/tokens/mint HTTP/1.1
Host: api.testnet.1money.network
Content-Type: application/json
Accept: */*
Content-Length: 351

{
  "chain_id": 1212101,
  "nonce": 0,
  "recipient": "0x9E1E9688A44D058fF181Ed64ddFAFbBE5CC742Ab",
  "token": "0x6ADE9688A44D058fF181Ed64ddFAFbBE5CC742Ac",
  "value": "1500000000",
  "signature": {
    "r": "72956732934625920503481762689501378577921804342307439094906376029324416116949",
    "s": "29902520081700531224291681396692026253288382272435451874524203378285409371412",
    "v": "1"
  }
}
{
  "hash": "0xf55f9525be94633b56f954d3252d52b8ef42f5fd5f9491b243708471c15cc40c"
}

Last updated