Split

Creates an Unsigned Transaction for Splitting a Solana Stake Account

Supports both standard recent blockhash nonces (default) and durable nonces (more information here):

Parameters

network

stake_account

funding_account_pubkey

amount_sol

nonce_account

nonce_authority

Responses

201 Transaction Created

400 Invalid Request

422 Invalid Request

Example CURL Request

curl --request POST \
     --url https://api.figment.io/solana/split \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: your-api-key-here' \
     --data '{
  "network": "mainnet"
}'

Example Response

{
  "data": {
    "network": "devnet",
    "signing_payload": "0xSigningPayload",
    "unsigned_transaction_serialized": "0xSerializedTransaction",
    "unsigned_tx_serialized_hex": "0xSerializedTransaction",
    "unsigned_tx_serialized_base64": "0xSerializedTransaction",
    "destination_stake_account_pubkey": "4ca4gDieqrADT2LwvwK2M6qz9WBSJcP6Q2J2MA6PBfzC",
    "last_valid_block_height": 359339325,
    "nonce_value": "GNP8nFAjKFBxL6Bfmti9gBGxCRF7gMaGmEiKfJKpJAaG",
    "is_durable_nonce": true
  }
}