Query editor
SELECTbytearray_to_bigint(bytearray_reverse(bytearray_substring(frombase58(sp.call_inner_instructions[1].data), 2, 8))) as token_sold_amount, bytearray_to_bigint(bytearray_reverse(bytearray_substring(frombase58(sp.call_inner_instructions[2].data), 2, 8))) as token_bought_amount, aToB, call_tx_idFROM whirlpool_solana.whirlpool_call_swap spWHERE sp.account_whirlpool = '7qbRF6YsyGuLUVs6Y1q64bdVrfe4ZcUUz1JRdoVNUJnm'AND call_tx_id = '44kmeC1edSfp21K5kKNVViJvLHG8XQqqu3KbHsrYcYZGmopWwBgP48c9u1DRBMGtQcbvyxd2TT8syY7ZvwpHqkhF'