Skip to content

@gala-chain/chaincodeAPI


API > fetchFeePendingBalances

Function: fetchFeePendingBalances()

fetchFeePendingBalances(ctx, data): Promise\<FetchFeePendingBalancesResDto>

Fetch FeePendingBalance entries previously written to chain. FeePendingBalance entries represent a pending credit or temporary balance used to pay cross-channel fees. Generally intended to be used in near-realtime in a subsequent block, these pending balances are written to chain by an authortiative identity that has verified a corresponding burn of $GALA on the Gala's asset channel. Supports pagination.

Parameters

ctx: GalaChainContext

data: FetchFeePendingBalancesParams

Returns

Source

chaincode/src/fees/fetchFeeBalances.ts:56