Javascript
import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ serverURL: "https://api.example.com", }); async function run() { const result = await avaCloudSDK.data.operations.getResult({ operationId: "aa22054a-cb7c-4a4e-9b83-59f2ede74138", }); console.log(result); } run();
{ "operationId": "<string>", "operationType": "TRANSACTION_EXPORT_PRIMARY_NETWORK", "operationStatus": "RUNNING", "message": "<string>", "metadata": { "code": "ErrInvalidRequest", "downloadUrl": "<string>", "nextDate": "<string>" }, "createdAtTimestamp": 123, "updatedAtTimestamp": 123 }
Gets operation details for the given operation id.
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
UUID of given operation
Successful response
The response is of type object.
object
Was this page helpful?