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

    Function decodeSignedDelegate

    • Decode a complete Borsh signed delegate, restoring its delegate, public key and signature instances. Action payloads remain plain data. This does not verify the signature or chain validity.

      Parameters

      • bytes: Uint8Array

        Exactly one canonical Borsh-encoded signed delegate.

      Returns SignedDelegate

      A signed delegate that can be inspected or re-encoded.

      If decoding fails, actions contain nested/reserved delegates, or the bytes are noncanonical.