get_outs - Monero
Example code for the get_outs JSON-RPC method. Complete guide on how to use get_outs JSON-RPC in GetBlock Web3 documentation.
Parameters
Parameter
Type
Required
Description
Request Example
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/get_outs' \
--header 'Content-Type: application/json' \
--data-raw '{
"outputs": [
{
"amount": 1000000000000,
"index": 0
}
],
"get_txid": true
}'import axios from 'axios';
const data = JSON.stringify({
"outputs": [
{
"amount": 1000000000000,
"index": 0
}
],
"get_txid": true
});
const config = {
method: 'post',
url: 'https://go.getblock.io/<ACCESS-TOKEN>/get_outs',
headers: {
'Content-Type': 'application/json'
},
data: data
};
axios(config)
.then(response => console.log(JSON.stringify(response.data, null, 2)))
.catch(error => console.log(error));Response Example
Response Parameters
Field
Type
Description
Use Cases
Error Handling
Status Code
Error Message
Cause
SDK Integration
Last updated
Was this helpful?