Marketplace has launched, further enabling blockchain developers! Learn more


platform.getTx RPC method

The API credit value for this method is 1 . To learn more about API credits and each method's value, visit the API Credits page.


  1. txID - string - The transaction id.
  2. encoding - string - Optional encoding parameter to specify the format for the returned transaction. Can be either "cb58", "hex", or "json". Defaults to "cb58".


  1. txID - string - The id of the subnet.
  2. encoding - string - Can be either "cb58", "hex", or "json". Defaults to "cb58".

Code Examples:

curl --location --request POST \
--header 'Content-Type: application/json' \
--data-raw '{
    "id"     :1,
    "method" :"platform.getTx",
    "params" :{
        "encoding": "cb58"
Ready to get started? Create a free account