Skip to main content

Swap

Querying commands for the swap module, which handles SENT to DVPN token swaps.

Query a Swap

Query a swap by its transaction hash.

sentinelhub query swap swap <tx_hash> \
--node https://rpc.sentinel.co:443

Query All Swaps

Query all swaps with optional filters and pagination.

sentinelhub query swap swaps \
--node https://rpc.sentinel.co:443

Query Swap Params

Query the swap module parameters.

sentinelhub query swap params \
--node https://rpc.sentinel.co:443