Function DelegationHandler Delegation Handler ( gasPayer ? ) : { gasPayerOrNull : ( ( ) => SignTransactionOptions ) ; gasPayerOrUndefined : ( ( ) => SignTransactionOptions ) ; getDelegationSignatureUsingUrl : ( ( tx : Transaction , originAddress : string , httpClient : HttpClient ) => Promise < Uint8Array < ArrayBufferLike > > ) ; isDelegated : ( ( ) => boolean ) ; } Returns { gasPayerOrNull : ( ( ) => SignTransactionOptions ) ; gasPayerOrUndefined : ( ( ) => SignTransactionOptions ) ; getDelegationSignatureUsingUrl : ( ( tx : Transaction , originAddress : string , httpClient : HttpClient ) => Promise < Uint8Array < ArrayBufferLike > > ) ; isDelegated : ( ( ) => boolean ) ; } get Delegation Signature Using Url : ( ( tx : Transaction , originAddress : string , httpClient : HttpClient ) => Promise < Uint8Array < ArrayBufferLike > > ) ( tx , originAddress , httpClient ) : Promise < Uint8Array < ArrayBufferLike > > Parameters tx : Transaction originAddress : string httpClient : HttpClient Returns Promise < Uint8Array < ArrayBufferLike > > is Delegated : ( ( ) => boolean ) ( ) : boolean Returns boolean
Provide a set of utils for the delegation type. It is a mutual exclusion between gasPayerPrivateKey and gasPayerServiceUrl. (@see SignTransactionOptions)
The aim of this handler is to: