node_modules/@velas/solana-web3/lib/index.browser.esm.js
/**
   * Decode a split stake instruction and retrieve the instruction params.
   */
Decode a split stake instruction and retrieve the instruction params.
Decode a split stake instruction and retrieve the instruction params .
static decodeSplit(instruction) {
    this.checkProgramId(instruction.programId);
    this.checkKeyLength(instruction.keys, 3);
    const {
      lamports
    } = decodeData(STAKE_INSTRUCTION_LAYOUTS.Split, instruction.data); 
    return {
      stakePubkey: instruction.keys[0].pubkey,
      splitStakePubkey: instruction.keys[1].pubkey,
      authorizedPubkey: instruction.keys[2].pubkey,
      lamports
    };
  }
static decodeSplit ( instruction ) { this . checkProgramId ( instruction . programId ) ; this . checkKeyLength ( instruction . keys , 3 ) ; const { lamports } = decodeData ( STAKE_INSTRUCTION_LAYOUTS . Split , instruction . data ) ; return { stakePubkey : instruction . keys [ 0 ] . pubkey , splitStakePubkey : instruction . keys [ 1 ] . pubkey , authorizedPubkey : instruction . keys [ 2 ] . pubkey , lamports } ; }
Decode a split stake instruction and retrieve the instruction params.
Decode a split stake instruction and retrieve the instruction params .
// @ts-ignore