Function: stakeSolanaGet

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / stakeSolanaGet

Function: stakeSolanaGet()

function stakeSolanaGet(
   stakeSolanaAction, 
   offerId, 
   title, 
   publisherHandle, 
   remainingConversions?, 
   imageUrl?, 
   description?, 
   userRewardType?, 
   userRewardToken?, 
   userRewardAmount?, 
   raffleRewardType?, 
   raffleRewardToken?, 
raffleRewardAmount?): Promise<ActionGetResponse>

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

-

title?

string

-

publisherHandle?

string

-

remainingConversions?

number

-

imageUrl?

string

-

description?

string

-

userRewardType?

string

-

userRewardToken?

string

-

userRewardAmount?

number

-

raffleRewardType?

string

-

raffleRewardToken?

string

-

raffleRewardAmount?

number

-

Returns

Promise<ActionGetResponse>

Defined in

solana-actions/buildGet.ts:500

Last updated