import { GetTxByHashRequest } from "@avalabs/avacloud-sdk/models/operations";
let value: GetTxByHashRequest = {
blockchainId: "p-chain",
txHash: "3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP",
};
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 |