withdrawalRequest()

This function is in the PendingWithdrawals.sol contract.

Function withdrawalRequest()

PendingWithdrawals.sol
function withdrawalRequest(uint256 id) external view returns (WithdrawalRequest memory)

This function provides detailed information about a pending withdrawal.

Function Arguments

NameTypeDescription

id

uint256

The ID of a pending withdrawal.

Return Variables

This function returns a list of information about the pending withdrawal.

Example response:

tuple :  0x04444499F1Cf0C0264664B43977ED08fEee22222,0xAB05Cf7C6c3a288cd36326e4f7b8600e7268E344,0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C,1652132072,35689994719818965491542,35693378174384324203302
Variable TypeReturns

address

This is the address to which the withdrawn tokens will go.

address

This is the address of the Bancor Pool tokens that are being withdrawn.

address

This is the address of the token that will be received.

uint32

The Unix timestamp of when the requested was initiated.

uint256

The number of pool tokens (bnTokens) being withdrawn.

uint256

The number of tokens that will be received.

Last updated