cURL
curl --request POST \ --url https://mainnet.gomaestro-api.org/v1/contracts/singleAssetStaking/stakeToken \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "nodeUTxOs": [ { "txHash": "<string>", "outputIndex": 123, "address": "<string>", "assets": [ { "policyId1assetName1": "123", "policyId2assetName2": "456", "policyId3assetName3": "789" } ], "datumHash": "<string>", "datum": "<string>", "scriptRef": "<string>" } ], "configTN": "<string>", "sender": "<string>", "toStake": 123 }'
{ "cbor_hex": "<string>", "tx_hash": "<string>" }
Stake tokens to a single-asset staking campaign to earn rewards based on the campaign configuration.
Project API Key
Configuration TN
Sender's address
To stake
Node UTXOs
Show child attributes
Stake token transaction build successfully
Unsigned transaction
CBOR hexadecimal representation of the transaction
Transaction hash
Was this page helpful?