Sign ibc transfer

post

Signs an IBC transfer transaction for a given account.

Authorizations
Path parameters
accountNamestringRequired
  • The name of the account for which the transaction is being signed.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Body
  • The input data for the Cosmos IBC transfer transaction.
fromAddressstringRequired

The address from which the transfer is initiated.

toAddressstringRequired

The address to which the transfer is sent.

amountstringRequired

The amount of tokens to be transferred.

denomstringRequired

The denomination of the tokens to be transferred.

chainIdstringRequired

The ID of the blockchain chain.

sequencenumber · doubleRequired

The sequence number of the account initiating the transfer.

accountNumbernumber · doubleRequired

The account number of the account initiating the transfer.

feeDenomstringRequired

The denomination of the fee to be paid for the transfer.

feeAmountstringRequired

The amount of the fee to be paid for the transfer.

gasLimitnumber · doubleRequired

The gas limit for the transfer transaction.

memostringRequired

An optional memo to include with the transfer.

timeoutHeightnumber · doubleRequired

The timeout height for the transfer transaction.

sourcePortstringRequired

The source port for the IBC transfer.

sourceChannelstringRequired

The source channel for the IBC transfer.

timeoutTimestampnumber · doubleRequired

The timeout timestamp for the IBC transfer, specified in nanoseconds.

Responses
200
A promise that resolves to a CosmosTransactionAPIResponse object containing the transaction data, success status, and a message.
application/json
post
POST //cosmos/{accountName}/sign-ibc-transfer HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 266

{
  "fromAddress": "text",
  "toAddress": "text",
  "amount": "text",
  "denom": "text",
  "chainId": "text",
  "sequence": 1,
  "accountNumber": 1,
  "feeDenom": "text",
  "feeAmount": "text",
  "gasLimit": 1,
  "memo": "text",
  "timeoutHeight": 1,
  "sourcePort": "text",
  "sourceChannel": "text",
  "timeoutTimestamp": 1
}
200

A promise that resolves to a CosmosTransactionAPIResponse object containing the transaction data, success status, and a message.

{
  "success": true,
  "message": "text",
  "data": {
    "signedTx": "text",
    "txHash": "text"
  }
}