This manual has been generated from Stamping.io where you can obtain the general information of the smart contract, the blockchain network information and the reading or writing functions in the smart contract.
In order to use these APIs you need to have an account on Stamping.io, you can create your account by going to https://stamping.io/admin/ and obtain your {API_KEY}.
Contract | 0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0 TESTNET | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ABI | https://stamping.io/admin/contract/add/0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0.abi | ||||||||||
Timestamp | 2025-06-27 | ||||||||||
Network |
|
||||||||||
Faucet | https://faucet.celo.org/alfajores |
Functions: textos
https://api.stamping.io/contract/call/?method=textos
Autentication:
Parameters | Type | Value |
key | Constant | c30612581dea3c3cc9cf5af6cdc9e45ac34306bb |
token | Constant | {API_KEY} |
Data entry:
Parameters | Type | Value |
chainid | Number | 44787 |
node | URL | https://alfajores-forno.celo-testnet.org |
contract | Address | 0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0 |
param1 | address | {value: } |
Examples:
// JavaScript Example
fetch('https://api.stamping.io/contract/call/?key=&token={API_KEY}&contract=0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0&method=textos&node=https://alfajores-forno.celo-testnet.org¶m1={VALUE_}&chainid=44787', {
method: 'GET'
})
.then(response => response.json())
.then(data => console.log(data));
// PHP Example
$ch = curl_init('https://api.stamping.io/contract/call/?key=&token={API_KEY}&contract=0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0&method=textos&node=https://alfajores-forno.celo-testnet.org¶m1={VALUE_}&chainid=44787');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, false);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
// Curl Example
curl -X GET -H "Content-Type: application/json" https://api.stamping.io/contract/call/?key=&token={API_KEY}&contract=0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0&method=textos&node=https://alfajores-forno.celo-testnet.org¶m1={VALUE_}&chainid=44787
Functions: setText
https://api.stamping.io/contract/send/?method=setText
Autentication:
Parameters | Type | Value |
key | Constant | 415b1ff37d32b4d6c9234b0b93e539a876e3fbaf |
token | Constant | {API_KEY} |
privateKey | URL | {privateKey() or PRIVATE_KEY or BLANK to use local signed} |
Data entry:
Parameter | Type | Value |
chainid | Number | 44787 |
node | URL | https://alfajores-forno.celo-testnet.org |
contract | Address | 0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0 |
param1 | string | {value: text} |
Examples:
// JavaScript Example
fetch('https://api.stamping.io/contract/send/?key=&token={API_KEY}&contract=0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0&method=setText&node=https://alfajores-forno.celo-testnet.org¶m1={VALUE_}&chainid=44787&privateKey=privateKey()', {
method: 'POST'
})
.then(response => response.json())
.then(data => console.log(data));
// PHP Example
$ch = curl_init('https://api.stamping.io/contract/send/?key=&token={API_KEY}&contract=0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0&method=setText&node=https://alfajores-forno.celo-testnet.org¶m1={VALUE_}&chainid=44787&privateKey=privateKey()');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array('param1' => 'value1')));
$response = curl_exec($ch);
curl_close($ch);
echo $response;
// Curl Example
curl -X POST -H "Content-Type: application/json" https://api.stamping.io/contract/send/?key=&token={API_KEY}&contract=0x42e3eC96C8903c62f023ADaB5977025C88dCEDf0&method=setText&node=https://alfajores-forno.celo-testnet.org¶m1={VALUE_}&chainid=44787&privateKey=privateKey()