Skip to main content

Transactions

Access transactions using Chronik

tx(txid)

Fetch tx details given the txid, includes token info.

See tx API docs.

Live Editor
function DemoTx() {
    return (
        <Json
            fn={async () => {
                return await chronik.tx(
                    'cdcdcdcdcdc9dda4c92bb1145aa84945c024346ea66fd4b699e344e45df2e145',
                );
            }}
        />
    );
}
Result
Loading...

rawTx(hashOrHeight, page, pageSize)

Fetch the raw tx bytes given the txid.

See rawTx API docs.

Live Editor
function DemoRawTx() {
    return (
        <Json
            fn={async () => {
                return await chronik.rawTx(
                    '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b',
                );
            }}
        />
    );
}
Result
Loading...