Transaction Examples
Transfer tokens & NFTs, manage account resources, and Interact with smart contracts
Sample Transactions (grouped by blockchain type)
Algorand
EVM
Using the samples
The code snippets in this section are passed into the createTransaction
function as the transaction
value.
Signing the transaction and broadcasting to the blockchain for fulfillment is simple when using the ORE ID WebPopup.
The transactionExample
can be also be encoded in base64 and submitted to the ORE ID API for signing and sending.
Submit a transaction to sign and/or broadcast.
POST
https://service.oreid.io/api/transaction/sign
Headers
Name | Type | Description |
---|---|---|
api-key* | String | ORE ID dApp service key or api key. |
Request Body
Name | Type | Description |
---|---|---|
account* | String | ORE ID User ID of the user performing the transaction. |
chain_account* | String | Blockchain wallet performing the transaction. |
chain_network* | String | Blockchain network of the transaction. |
transaction | String | Base64 encoded transaction. |
signed_transaction | String | Base64 encoded transaction containing at least one signature. |
user_password* | String | Password used when creating the account. |
broadcast | Boolean | Submit to the blockchain for fulfillment if true. Defaults to true. |
return_signed_transaction | Boolean | Returns the signed transaction in the response. Defaults to true. |
expire_seconds | Integer | Overrides default transaction timout of 3000 (5 Mins.). |
Last updated