Function: stakeSolanaPost

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / stakeSolanaPost

Function: stakeSolanaPost()

function stakeSolanaPost(stakeSolanaAction, offerId): string

Parameters

ParameterTypeDescription

stakeSolanaAction

object

-

stakeSolanaAction.amount

number

The minimum amount to stake

stakeSolanaAction.epochs

number

The minimum number of epochs to stake for

stakeSolanaAction.validator

string

The validator to stake with

offerId

string

-

Returns

string

Defined in

solana-actions/buildPost.ts:85

Last updated