getTransactionById

connectClient.evm.getTransactionById(params) ⇒

Fetch an initiated Transaction by ID. Poll this to check status.

Kind: instance method of ConnectClient Returns: Promise with the transaction response Throws:

  • ArmorySdkException If there's an error retrieving the transaction

Param
Description

params

Parameters for retrieving the transaction

params.id

Unique identifier of the transaction

params.connectionId

Unique identifier of the provider connection

params.accessToken

Optional access token for authentication

Example

const transaction = await connectClient.evm.getTransactionById({
  id: "tx-123",
  connectionId: "conn-456"
});

Last updated