Narval | Docs
GithubHome
  • Narval Connect
    • Overview
    • Getting Started
  • Security Overview
  • Providers
    • Providers
      • Anchorage
      • BitGo
      • Fireblocks
  • Guide
    • ConnectClient
    • Connect Widget
      • initiateConnect
      • completeConnect
    • Using a Connection
      • listWallets
      • getWalletById
      • listAccounts
      • getAccountById
      • listAddresses
      • getAddressById
      • listKnownDestinations
      • sendTransfer
      • getTransfer
      • EVM Transactions
        • sendTransaction
        • getTransactionById
        • signMessage
        • getSignMessageById
        • signTypedData
        • getTypedDataById
      • Staking
        • Ethereum (ETH)
        • Polygon (POL)
        • Solana (SOL)
        • Sui (SUI)
      • Raw Signing
        • signRaw
        • getRawSignRequest
    • Manage Connections
      • listConnections
      • getConnection
      • revokeConnection
  • API Reference
    • REST API
      • Authorization
      • Connect Widget
      • Networks & Assets
      • Wallets, Accounts, Addresses
      • Known Destinations
      • Transfer
      • Stake
        • Ethereum
        • Polygon
        • Solana
        • Sui
      • Transactions
        • Ethereum (EVM)
      • Raw Signing
      • Transit Encryption Key
      • Manage Connections
Powered by GitBook
On this page
  1. Guide
  2. Using a Connection
  3. EVM Transactions

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"
});
PrevioussendTransactionNextsignMessage

Last updated 29 days ago