near-api-js - v7.0.4
    Preparing search index...

    Function encodeDelegateAction

    • Borsh-encode a delegate action for inclusion as an action within a meta transaction NB per NEP-461 this requires a Borsh-serialized prefix specific to delegate actions, ensuring signed delegate actions may never be identical to signed transactions with the same fields

      Parameters

      • delegateAction: DelegateAction

        Delegate action to be signed by the meta transaction sender

      Returns Uint8Array<ArrayBuffer>