Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 2.26 KB

gettxbyhashrequest.md

File metadata and controls

20 lines (15 loc) · 2.26 KB

GetTxByHashRequest

Example Usage

import { GetTxByHashRequest } from "@avalabs/avacloud-sdk/models/operations";

let value: GetTxByHashRequest = {
  blockchainId: "p-chain",
  txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP",
};

Fields

Field Type Required Description Example
blockchainId components.BlockchainId ✔️ A primary network blockchain id or alias. p-chain
network components.GlobalParamNetwork Either mainnet or testnet/fuji. mainnet
txHash string ✔️ A primary network (P or X chain) transaction hash. 3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP