Transactions routes
You generated an address for a user, Then that user received transactions and you want to show all of their transactions. For a profile to receive digital assets they need a receiving address. every profile has the ability to get a lot of receiving addresses.
Before you create any transaction, make sure that you create a address and make sure you have amount in your wallet, if you don't have please check this How to Obtain Testnet Coins?
This operation sends transactions
POST
https://sandbox.oumla.com/api/v1/withdraw
Request Body (required)
Name | Type | Description |
---|---|---|
network* | NetworkType | specify which blockchain BTC | tBTC | ETH | tETH |
from* | string[] | specify which addresses to withdraw from. This is an array of strings. |
amount* | number | the amount to send. |
to* | string | the desired address |
clientShare* | string | the client share |
Headers
Name | Type | Description |
---|---|---|
x-api-key* | string | Oumla api key |
Sample code of the request:
The expected response:
This operation to get transactions by reference
or by address
reference
or by address
GET
https://sandbox.oumla.com/api/v1/transactions/
address
/{{
reference
}}
OR
GET
https://sandbox.oumla.com/api/v1/transactions/
address
/{{
address
}}
Query Parameters (required)
Name | Type | Description |
---|---|---|
reference* | string | the id for that user. |
address* | string | the address of that user. |
Headers
Name | Type | Description |
---|---|---|
x-api-key* | string | Oumla api key |
Sample code of the request:
The expected response:
Last updated