Interface CardanoTransactionCraftingResponse

interface CardanoTransactionCraftingResponse {
    fee: string;
    unsignedTx: string;
    utxosIn: CardanoUtxo[];
    utxosOut: CardanoUtxo[];
}

Properties

fee: string

The transaction fee in lovelace

Example

"170000"
unsignedTx: string

The unsigned transaction in CBOR format

Example

"84a50081825820..."
utxosIn: CardanoUtxo[]

UTXOs being spent as part of the transaction

Example

[{"txHash":"0x1234567890abcdef...","outputIndex":0,"lovelacee":"1000000","address":"addr1qdzmqvfdnxsn4a3hd57x435madswynt4hqw8n7f2pdq05g4995re"}]
utxosOut: CardanoUtxo[]

UTXOs being created as change outputs

Example

[{"txHash":"0x1234567890abcdef...","outputIndex":0,"lovelace":"1000000","address":"addr1qdzmqvfdnxsn4a3hd57x435madswynt4hqw8n7f2pdq05g4995re"}]