Solana

Scan Transaction

Gets a transaction and returns a full simulation indicating what will happen in the transaction together with a recommended action and some textual reasons of why the transaction was flagged that way.

post/v0/solana/message/scan

Request body

encoding'base58' | 'base64'
optionsSolanaOptions[]

List of options to include in the response

  • Options.validation: Include Options.validation output in the response

  • Options.simulation: Include Options.simulation output in the response

  • Options.gas_estimation: Include gas estimation output in the response

account_addressstring required
transactionsstring[] required

Transactions to scan

method'signAndSendTransaction' | 'signAndSendAllTransactions' | 'signTransaction' | 'signAllTransactions'

The RPC method used by the dApp to request a signature or send a transaction.

execution_mode'standard' | 'jito_bundle'

Execution mode for transaction scanning. standard for regular transactions, jito_bundle for Jito bundle transactions.

Response

Successful Response

encoding'base58' | 'base64' required
status'SUCCESS' | 'ERROR' required
errorstring nullable

Error message if the simulation failed

request_idstring nullable required

Unique identifier of the request

Changes

Changed in 9 of the 95 revisions of this API.225

    • removed the enum value sendRawTransaction of the request property method

      request-property-enum-value-removed

  • 24b29b59264d15See the full diff
    • request property method was restricted to a list of enum values

      request-property-became-enum

    • added the new sendRawTransaction enum value to the request property method

      request-property-enum-value-added

    • added the new signAllTransactions enum value to the request property method

      request-property-enum-value-added

    • added the new signAndSendAllTransactions enum value to the request property method

      request-property-enum-value-added

    • added the new signAndSendTransaction enum value to the request property method

      request-property-enum-value-added

    • added the new signTransaction enum value to the request property method

      request-property-enum-value-added

    • added the required property result/gas_estimation/used to the response with the 200 status

      response-required-property-added

    • added the new optional request property metadata/account/allOf[subschema #1: Account]/account_addresses

      new-optional-request-property

    • added the new optional request property metadata/connection/allOf[subschema #1: Connection]/origin

      new-optional-request-property

    • added the new optional request property metadata/connection/allOf[subschema #1: Connection]/walletconnect_description

      new-optional-request-property

    • added the new optional request property metadata/connection/allOf[subschema #1: Connection]/walletconnect_name

      new-optional-request-property

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property metadata/non_dapp

      new-optional-request-property

    • added the new gas_estimation enum value to the request property options/items/

      request-property-enum-value-added

    • added the required property result/gas_estimation to the response with the 200 status

      response-required-property-added

    • added the required property result/simulation/accounts_details/items/anyOf[subschema #1: PDA]/was_created to the response with the 200 status

      response-required-property-added

    • added the required property result/simulation/accounts_details/items/anyOf[subschema #2: System Account Details]/was_created to the response with the 200 status

      response-required-property-added

    • added the required property result/simulation/accounts_details/items/anyOf[subschema #3: Program Account Details]/was_created to the response with the 200 status

      response-required-property-added

    • added the required property result/simulation/accounts_details/items/anyOf[subschema #4: Token Account Details]/was_created to the response with the 200 status

      response-required-property-added

    • added the required property result/simulation/accounts_details/items/anyOf[subschema #5: Fungible Mint Account Details]/was_created to the response with the 200 status

      response-required-property-added

    • added the required property result/simulation/accounts_details/items/anyOf[subschema #6: Non-Fungible Mint Account Details]/was_created to the response with the 200 status

      response-required-property-added

    • added the required property result/simulation/accounts_details/items/anyOf[subschema #7: cNFT Mint Account Details]/was_created to the response with the 200 status

      response-required-property-added

    • added the new optional request property metadata/account

      new-optional-request-property

    • added the new optional request property metadata/connection

      new-optional-request-property

    • added the new optional request property execution_mode

      new-optional-request-property

    • added the required property result/validation/classification to the response with the 200 status

      response-required-property-added

    • added the required property result/validation/description to the response with the 200 status

      response-required-property-added

Of the 95 revisions, 1 has no diff computed.