SigningRequest
Summary
The signing request version.
The raw signing request data.
The request signature.
Create a new signing request. Normally not used directly, see the create
and from
class methods.
Sign the request, mutating.
Get the signature digest for this request.
Set the signature data for this request, mutating.
Set the request callback, mutating.
Set broadcast flag.
Get the request data without header or signature.
Get signature data, returns an empty array if request is not signed.
ABI definitions required to resolve request.
Whether TaPoS values are required to resolve request.
Resolve required ABI definitions.
Decode raw actions actions to object representations.
Get the id of the chain where this request is valid.
Return the actions in this request with action data encoded.
Unresolved transaction.
Whether the request is an identity request.
Whether the request should be broadcast by signer.
Present if the request is an identity request and requests a specific account. This returns nil
unless a specific identity has been requested, use isIdentity
to check id requests.
Present if the request is an identity request and requests a specific permission. This returns nil
unless a specific permission has been requested, use isIdentity
to check id requests.
Get raw info dict
Get metadata values as T
Get metadata values as T
Get metadata values as strings.
Set a metadata key.
Return a deep copy of this request.
Present if the request is an identity request and requests a specific permission. This returns nil
unless a specific permission has been requested, use isIdentity
to check id requests.
Create a new signing request.
Creates an identity request.
Create a request from a chain id and serialized transaction.
Creates a signing request from encoded esr:
uri string.
Members
The signing request version.
The raw signing request data.
The request signature.
Create a new signing request. Normally not used directly, see the create
and from
class methods.
Sign the request, mutating.
Parameters
signatureProvider
The signature provider that provides a signature for the signer.
Get the signature digest for this request.
Set the signature data for this request, mutating.
Parameters
signer
Account name of signer.signature
The signature string.
Set the request callback, mutating.
Parameters
url
Where the callback should be sent.background
Whether the callback should be sent in the background.
Set broadcast flag.
Parameters
broadcast
Whether the transaction should be broadcast by receiver.
Get the request data without header or signature.
Get signature data, returns an empty array if request is not signed.
ABI definitions required to resolve request.
Whether TaPoS values are required to resolve request.
Resolve required ABI definitions.
Decode raw actions actions to object representations.
Parameters
abis
ABI defenitions required to decode all actions.signer
Placeholders in actions will be resolved to signer if set.
Get the id of the chain where this request is valid.
Returns
The 32-byte chain id as hex encoded string.
Return the actions in this request with action data encoded.
Unresolved transaction.
Whether the request is an identity request.
Whether the request should be broadcast by signer.
Present if the request is an identity request and requests a specific account. This returns nil
unless a specific identity has been requested, use isIdentity
to check id requests.
Present if the request is an identity request and requests a specific permission. This returns nil
unless a specific permission has been requested, use isIdentity
to check id requests.
Get raw info dict
Get metadata values as T
Get metadata values as T
Get metadata values as strings.
Set a metadata key.
Return a deep copy of this request.
Present if the request is an identity request and requests a specific permission. This returns nil
unless a specific permission has been requested, use isIdentity
to check id requests.
Create a new signing request.
Creates an identity request.
Create a request from a chain id and serialized transaction.
Parameters
chainId
The chain id where the transaction is valid.serializedTransaction
The serialized transaction.options
Creation options.
Creates a signing request from encoded esr:
uri string.
Last updated