authorize Entry
Authorizes an existing authorization entry using a KeyPair.
This "fills out" the authorization entry with a signature, indicating to the InvokeHostFunctionOperation it's attached to that:
a particular identity (signing KeyPair) approves
the execution of an invocation tree
on a particular network (replay protection)
until a particular ledger sequence is reached
Return
A signed Soroban authorization entry
Parameters
The base64 encoded unsigned Soroban authorization entry
The KeyPair to sign with (must correspond to the address in the entry)
The exclusive future ledger sequence until which this is valid
The network (incorporated into the signature for replay protection)
Throws
if entry cannot be decoded or signature verification fails
Authorizes an existing authorization entry using a KeyPair.
This "fills out" the authorization entry with a signature, indicating to the InvokeHostFunctionOperation it's attached to that:
a particular identity (signing KeyPair) approves
the execution of an invocation tree
on a particular network (replay protection)
until a particular ledger sequence is reached
Return
A signed Soroban authorization entry
Parameters
The unsigned Soroban authorization entry
The KeyPair to sign with (must correspond to the address in the entry)
The exclusive future ledger sequence until which this is valid
The network (incorporated into the signature for replay protection)
Throws
if signature verification fails
Authorizes an existing authorization entry using a custom Signer.
This "fills out" the authorization entry with a signature, indicating to the InvokeHostFunctionOperation it's attached to that:
a particular identity (custom Signer) approves
the execution of an invocation tree
on a particular network (replay protection)
until a particular ledger sequence is reached
Return
A signed Soroban authorization entry
Parameters
The base64 encoded unsigned Soroban authorization entry
A function that signs the hash of a HashIDPreimage
The exclusive future ledger sequence until which this is valid
The network (incorporated into the signature for replay protection)
Throws
if entry cannot be decoded or signature verification fails
Authorizes an existing authorization entry using a custom Signer.
This "fills out" the authorization entry with a signature, indicating to the InvokeHostFunctionOperation it's attached to that:
a particular identity (custom Signer) approves
the execution of an invocation tree
on a particular network (replay protection)
until a particular ledger sequence is reached
Return
A signed Soroban authorization entry
Parameters
The unsigned Soroban authorization entry
A function that signs the hash of a HashIDPreimage
The exclusive future ledger sequence until which this is valid
The network (incorporated into the signature for replay protection)
Throws
if signature verification fails