ORE ID
Search
K

Transaction Examples

Transfer tokens & NFTs, manage account resources, and Interact with smart contracts

Sample Transactions (grouped by blockchain type)

Algorand
EOSIO
EVM

Using the samples

The code snippets in this section are passed into the createTransaction function as the transactionvalue.
const transaction = await oreId.createTransaction({
chainAccount: signingAccount.chainAccount, // use account that was logged in
chainNetwork: signingAccount.chainNetwork,
transaction: transactionExample // txn samples passed in here
signOptions: {
broadcast: true,
returnSignedTransaction: false,
},
});
Signing the transaction and broadcasting to the blockchain for fulfillment is simple when using the ORE ID WebPopup.
oreId.popup
.sign({ transaction })
.then( onSuccess )
.catch( onError );
The transactionExample can be also be encoded in base64 and submitted to the ORE ID API for signing and sending.
post
https://service.oreid.io
/api/transaction/sign
Submit a transaction to sign and/or broadcast.