-
Notifications
You must be signed in to change notification settings - Fork 11
base.types.TransactionPayload
base/types.TransactionPayload
Unsigned transaction data in JSON a format
• Readonly
metadata: Record
<string
, string
>
Additional information attached to the payload, such as IDs or memos about the transaction.
Note
this is not chain data. Its for convenience for attaching a trace ID
• 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.
• Readonly
multiSig: null
| string
The address of the MultiSig if the transaction is a proposal.
Will be set only if the signing account is a MultiSig signer and the transaction is not approving or rejecting an existing proposal
• Readonly
payload: SignerPayloadJSON
This is what a Polkadot signer ".signPayload" method expects
Note
this field is recommended to be passed in with the signature when submitting a signed transaction
• Readonly
rawPayload: SignerPayloadRaw
An alternative representation of the payload for which Polkadot signers providing ".signRaw" expect.
Note
using the field payload
is generally recommended. The raw version is included so any polkadot compliant signer can sign.
Note
signRaw
typically returns just the signature. However signatures must be prefixed with a byte to indicate the type. For ed25519 signatures prepend a zero byte (0x00
), for sr25519 0x01
byte to indicate sr25519 if the signer implementation does not already do so.
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Custom Permission Group
- Default Portfolio
- Default Trusted Claim Issuer
- Dividend Distribution
- Entity
- Identity
- Instruction
- Known Permission Group
- Metadata Entry
- Multi Sig Proposal
- Numbered Portfolio
- Offering
- Permission Group
- Portfolio
- Subsidies
- Subsidy
- Ticker Reservation
- Venue
- Authorizations
- Types