Skip to content

getPoSTransactionByNumber

Get the PoS transaction information by transaction number.

Usage

example.ts
import { publicClient } from "./client";
 
const transaction = await publicClient.getPoSTransactionByNumber({
  transactionNumber: 1n,
});

Returns

PoSTransaction

Parameters

transactionNumber

  • Type: bigint
const transaction = await publicClient.getPoSTransactionByNumber({
  transactionNumber: 1n, 
});

JSON-RPC Method

pos_getTransactionByNumber