Okto Embedded WalletUsing Embedded Wallet
Invoke Any Smart Contract On-chain Via Code
Learn how to invoke any smart contract interaction on-chain using the Okto SDK.
Methods Overview
Methods | Description |
---|---|
async rawTransactionExecute | Execute raw transactions based on the provided data |
async rawTransactionStatus | Fetch raw transactions based on the provided data |
Execute raw transaction
async rawTransactionExecute(query)
executes a raw transaction based on the provided data.
Parameters
Parameter | Type | Description |
---|---|---|
data | rawTransactionStatus | Data being provided for executing raw transactions |
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Future<RawTransactionExecuteResponse> | Returns information about the transaction |
Get raw transaction status
async rawTransactionStatus(query)
fetches the status of a raw transaction based on the provided query.
Parameters
Parameter | Type | Description |
---|---|---|
query | RawTransactionStatusQuery | Query being provided fetching the data |
Response
Success Response
Field Name | Type | Description |
---|---|---|
result | Future<RawTransactionStatusResponse> | Returns information about the status of raw transaction |