cURL
curl --request POST \ --url https://mainnet.gomaestro-api.org/v1/contracts/singleAssetStaking/updateStake \ --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>" }
Update the amount of assets staked in a single asset staking campaign by increasing or decreasing stake.
Project API Key
Configuration TN
Sender's address
To stake
Node UTXOs
Show child attributes
Update stake transaction build successfully
Unsigned transaction
CBOR hexadecimal representation of the transaction
Transaction hash
Was this page helpful?