node_modules/@velas/solana-web3/lib/index.browser.esm.js
/**
   * Generate a transaction instruction that authorizes a new PublicKey as the authority
   * on a Nonce account.
   */
Generate a transaction instruction that authorizes a new PublicKey as the authority
on a Nonce account.
Generate a transaction instruction that authorizes a new PublicKey as the authority on a Nonce account .
static nonceAuthorize(params) {
    const type = SYSTEM_INSTRUCTION_LAYOUTS.AuthorizeNonceAccount;
    const data = encodeData(type, {
      authorized: params.newAuthorizedPubkey.toBuffer()
    });
    return new TransactionInstruction({
      keys: [{
        pubkey: params.noncePubkey,
        isSigner: false,
        isWritable: true
      }, {
        pubkey: params.authorizedPubkey,
        isSigner: true,
        isWritable: false
      }],
      programId: this.programId,
      data
    });
  }
static nonceAuthorize ( params ) { const type = SYSTEM_INSTRUCTION_LAYOUTS . AuthorizeNonceAccount ; const data = encodeData ( type , { authorized : params . newAuthorizedPubkey . toBuffer ( ) } ) ; return new TransactionInstruction ( { keys : [ { pubkey : params . noncePubkey , isSigner : false , isWritable : true } , { pubkey : params . authorizedPubkey , isSigner : true , isWritable : false } ] , programId : this . programId , data } ) ; }
Generate a transaction instruction that authorizes a new PublicKey as the authority
 on a Nonce account.
Generate a transaction instruction that authorizes a new PublicKey as the authority on a Nonce account .