Transaction
Allows users with limited roles to do transections by using following endpoints

Send

Use the /send endpoint to create transactions to peers. The /send endpoint is agnostic to sending either Tokens or BSV. Users having the following roles can perform this operation
  • admin
  • operator
  • manager
authToken
API Key and UID
1
curl --location --request POST 'https://us-central1-changedev-3b21a.cloudfunctions.net/api/v1/send' \
2
--header 'walletid: walletId' \
3
--header 'Content-Type: application/json' \
4
--header 'Authorization: Bearer authToken' \
5
--data-raw '{
6
"dataArray": [
7
{
8
"to":"address",
9
"amount": "amount in number"
10
}
11
]
12
}'
Copied!
1
curl --location --request POST 'https://us-central1-changedev-3b21a.cloudfunctions.net/api/v1/send' \
2
--header 'uid: uid' \
3
--header 'apikey: apiKey' \
4
--header 'walletid: walletId' \
5
--header 'Content-Type: application/json' \
6
--data-raw '{
7
"dataArray": [
8
{
9
"to": "wallet address",
10
"amount": "amount in number"
11
}
12
]
13
}'
Copied!
Copy link