GET
/
transactions
/
by_version
/
{txn_version}
curl --request GET \
  --url https://chaindata.preview-api.modular.cloud/v1/chain/movement-m1/transactions/by_version/{txn_version}
{
  "type": "pending_transaction",
  "hash": "<string>",
  "sender": "0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 ",
  "sequence_number": "32425224034",
  "max_gas_amount": "32425224034",
  "gas_unit_price": "32425224034",
  "expiration_timestamp_secs": "32425224034",
  "payload": {
    "type": "entry_function_payload",
    "function": "0x1::aptos_coin::transfer",
    "type_arguments": [
      "<string>"
    ],
    "arguments": [
      "<any>"
    ]
  },
  "signature": {
    "type": "ed25519_signature",
    "public_key": "0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 ",
    "signature": "0x88fbd33f54e1126269769780feb24480428179f552e2313fbe571b72e62a1ca1 "
  }
}

Path Parameters

txn_version
string
required

Version of transaction to retrieve

Response

200 - application/json
type
string
required
hash
string
required
sender
string
required

A hex encoded 32 byte Aptos account address.

This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and adding a 0x.

For example, address 0x0000000000000000000000000000000000000000000000000000000000000001 is represented as 0x1.

sequence_number
string
required

Version of transaction to retrieve

max_gas_amount
string
required

Version of transaction to retrieve

gas_unit_price
string
required

Version of transaction to retrieve

expiration_timestamp_secs
string
required

Version of transaction to retrieve

payload
object
required

An enum of the possible transaction payloads

signature
object

An enum representing the different transaction signatures available