Skip to content

@acala-network/chopsticks-core


@acala-network/chopsticks-core / isGeneralExtrinsic

Function: isGeneralExtrinsic() ​

isGeneralExtrinsic(extrinsic): boolean

Defined in: packages/core/src/utils/index.ts:53

Whether extrinsic is a general (v5) extrinsic, read from its preamble byte. polkadot.js cannot always decode one: it skips the payload of a transaction extension it does not know, such as VerifySignature.

Parameters ​

extrinsic ​

`0x${string}` | Uint8Array<ArrayBufferLike>

Returns ​

boolean