EOS_Ecom_CopyTransactionByIndex

EOS API reference page for EOS_Ecom_CopyTransactionByIndex

1 min to read

This function is part of the Ecom Interface.

Remarks

Fetches the transaction handle at the given index.

Return Value

  • EOS_Success if the information is available and passed out in OutTransaction

  • EOS_InvalidParameters if you pass a null pointer for the out parameter

  • EOS_NotFound if the transaction is not found

See Also

EOS_Ecom_CheckoutCallbackInfo, EOS_Ecom_Transaction_Release

Parameters

EOS_Ecom_CopyTransactionByIndex

Parameter Type And NameUsage Information
EOS_HEcom Handle
const EOS_Ecom_CopyTransactionByIndexOptions* Optionsstructure containing the Epic Account ID and index being accessed
EOS_Ecom_HTransaction* OutTransaction

If successful, this function provides data to the caller through an output parameter. Once you are finished with the data, you must release it by making the appropriate call into the EOS SDK.