v1

latestSwagger 2.02026-07-17492548.9 KB
ICS20

Send coins (build -> sign -> send)

Send coins (build -> sign -> send)

post/bank/accounts/{address}/transfers

Path parameters

addressstring required

Account address in bech32 format

Query parameters

simulateboolean

if true, ignore the gas field and perform a simulation of a transaction, but don't broadcast it

generate_onlyboolean

if true, build an unsigned transaction and write it back

Request body

Example request

{
  "base_req": {
    "password": "12345678",
    "account_number": "0",
    "sequence": "0",
    "gas": "200000",
    "gas_adjustment": "1.2"
  },
  "amount": [
    {
      "denom": "steak",
      "amount": "50"
    }
  ]
}

Response

Tx was send and will probably be added to the next block

hashstring
heightinteger

Example response

{
  "check_tx": {
    "code": 0,
    "data": "data",
    "log": "log",
    "gas_used": 5000,
    "gas_wanted": 10000,
    "info": "info",
    "tags": [
      "",
      ""
    ]
  },
  "deliver_tx": {
    "code": 5,
    "data": "data",
    "log": "log",
    "gas_used": 5000,
    "gas_wanted": 10000,
    "info": "info",
    "tags": [
      "",
      ""
    ]
  },
  "hash": "EE5F3404034C524501629B56E0DDC38FAD651F04"
}