Skip to main content
GET
The grant batch to sign for grant mode

Authorizations

Authorization
string
header
required

Wallet API key fr_... from POST /v1/auth/keys.

Query Parameters

address
string

Wallet that will sign (when no key is sent).

Response

OK

object
any
owner
string
delegate
string

Router compute delegate to name in the compute grant. Kept per wallet.

network
string
genesis_hash
string
rpc
string

Public RPC address to connect to when signing this call (the first of rpc_urls).

rpc_urls
string[]

Every public RPC address of the chain.

explorer_url
string

Base URL of the chain explorer.

limits
object

Chain constants of the flopSessionKeys pallet. max_rotations_per_hour: grants a wallet may create per hour (3); more fails with flopSessionKeys.SessionRotationLimited. block_time_ms: milliseconds per block.

amounts
object

Suggested compute caps (decimal FLOP) and duration. The fee grant's caps are in fee_call.args.

call
object

The compute createSession call (kept for clients that build it themselves; sign call_data instead).

call_data
string

SCALE-encoded call (0x hex): sign and submit it as an extrinsic from the owner wallet. In grant fee-collection mode it is always utility.batchAll over calls, even for one call.

notes
string[]
renewal
boolean

true when the batch replaces existing grants (it starts with revokeSession calls, because the chain refuses a second grant to a delegate while one is active).

renewal_call
object | null

When renewal is true: {pallet: utility, method: batchAll, calls} (the same calls). Otherwise null.

fee_delegate
string

Router fee delegate to name in the fee grant (only in grant fee-collection mode). Kept per wallet.

fee_address
string

Where the router's fee is paid to: the fee grant lets the router transfer its fee from your wallet to this address and nowhere else.

fee_call
object

The fee createSession call: allowed_pallets is ["Balances"]; the caps are raw units sized for the router's fee (5% of the escrow, at least min_router_fee) over the grant's life. Present in grant fee-collection mode.

calls
object[]

The batch body in order: revokeSession for each grant being replaced, then the compute createSession (omitted when the wallet keeps its current compute grant, so a wallet with a compute-only grant gets just the fee call), then the fee createSession. Present in grant fee-collection mode.