authorize Invocation
Builds and signs a new authorization entry from scratch using a KeyPair.
Return
Signed authorization entry
Parameters
KeyPair to sign with
Exclusive future ledger sequence until which this is valid
Invocation tree being authorized (typically from simulation)
Network for replay protection
When true, creates ADDRESS_V2 credentials instead of the legacy ADDRESS arm. ADDRESS_V2 requires Protocol 27 or later; emitting it on an older network invalidates the transaction.
Builds and signs a new authorization entry from scratch using a custom Signer.
Return
Signed authorization entry
Parameters
Custom signer
Public identity of the signer (G... address)
Exclusive future ledger sequence until which this is valid
Invocation tree being authorized (typically from simulation)
Network for replay protection
When true, creates ADDRESS_V2 credentials instead of the legacy ADDRESS arm. ADDRESS_V2 requires Protocol 27 or later; emitting it on an older network invalidates the transaction.