Skip to main content
Version: 24.2.x

Interface: TransactionPayload

base/types.TransactionPayload

Properties

metadata

Readonly metadata: Record<string, string>

Additional information attached to the payload, such as IDs or memos about the transaction

Defined in

base/types.ts:195


method

Readonly method: `0x${string}`

A hex representation of the core extrinsic information. i.e. the extrinsic and args, but does not contain information about who is to sign the transaction.

When submitting the transaction this will be used to construct the extrinsic, to which the signer payload and signature will be attached to.

Defined in

base/types.ts:190


payload

Readonly payload: SignerPayloadJSON

This is what a Polkadot signer ".signPayload" method expects

Defined in

base/types.ts:174


rawPayload

Readonly rawPayload: SignerPayloadRaw

An alternative representation of the payload for which Polkadot signers providing ".signRaw" expect.

Note

the signature should be prefixed with a single byte to indicate its type. Prepend a zero byte (0x00) for ed25519 or a 0x01 byte to indicate sr25519 if the signer implementation does not already do so.

Defined in

base/types.ts:181