Module actions

Module actions 

Source
Expand description

Actions to update a Renegade wallet

Modules§

admin_assign_order_to_pool
Admin action to assign an order to a matching pool
admin_create_matching_pool
Admin action to create a matching pool
admin_get_account_orders
Fetches all orders for a given account (admin)
admin_get_open_orders
Fetches all open orders managed by the relayer
admin_get_order
Fetch a given order managed by the relayer by its ID
admin_is_task_queue_paused
Check if an account’s task queue is paused (admin)
admin_place_order_in_pool
Admin action to place an order in a specific matching pool
approvals
Helper methods for building ERC20 and Permit2 approval transactions
cancel_order
Cancels an order in the wallet
create_account
Create an account with the relayer
deposit
Deposit into an account balance
get_account
Looks up an account by its ID in the relayer
get_account_seeds
Get an account’s seed CSPRNG states from the relayer
get_balance_by_mint
Gets the balance of a given mint in the account
get_balances
Gets all of the balances in the account
get_order
Looks up an order by its ID in the relayer
get_orders
Fetches all orders in the account
get_task
Looks up a task by its ID in the relayer
get_tasks
Gets the wallet’s task history from the historical state engine
place_order
Places an order
sync_account
Sync an account with onchain state
update_order
Updates an order
withdraw
Withdraw funds from an account balance