The response of a XM transaction

interface TransactionResponse {
    chain?: string;
    error?: any;
    extra?: {
        [key: string]: any;
    };
    hash?: string;
    result: XmTransactionResult;
}

Properties

chain?: string

The chain where the transaction was executed

error?: any

The error object if the tx failed

extra?: {
    [key: string]: any;
}

Extra optional data about the transaction extracted from the response. Currently available for XRPL transactions

hash?: string

The hash of the transaction if the tx was successful

result: XmTransactionResult

Whether the transaction was successful or not