githubEdit

Suggest gas

get

Suggests the gas price for a given account and chain ID.

Authorizations
AuthorizationstringRequired
Path parameters
accountNamestringRequired
  • The name of the account for which to suggest the gas price.
Query parameters
chainIdstringRequired
  • The ID of the blockchain network.
Header parameters
AuthorizationstringRequired
  • The authorization token.
Responses
chevron-right
200

A promise that resolves to a TransactionAPIResponse object containing the suggested gas price.

application/json

Interface representing the response from the Transaction API. Extends the BaseAPIResponse interface.

successbooleanRequired

The success status of the operation.

messagestringRequired

The message associated with the operation.

addressstringOptional

The address associated with the operation.

transaction_hashanyOptional

The hash of the transaction.

signedTxanyOptional

The signed transaction data.

transactionanyOptional

Additional transaction information.

functionstringOptional

The function name associated with the transaction.

get
/accounts/{accountName}/suggest-gas
200

A promise that resolves to a TransactionAPIResponse object containing the suggested gas price.