Search…
About Bancor Network
Bancor V3
Bancor Basics
Resources for DAOs
Security & Audits
Contracts & Functions
Contracts
Write Functions
Read Functions
Rewards
Liquidity Pool Details
Trades
Withdrawals
isReadyForWithdrawal()
withdrawalRequest()
withdrawalAmounts()
withdrawalRequestIds()
withdrawalRequestCount()
lockDuration()
Pool Token Information
Vortex
Data & Events
Developer Guides
Bancor Vortex Burner
Bancor Etherscan Guide
REST API
Marketing
Brand Guide
Powered By
GitBook
withdrawalRequest()
This function is in the PendingWithdrawals.sol contract.
Function withdrawalRequest()
PendingWithdrawals.sol
1
function
withdrawalRequest
(
uint256 id
)
external view
returns
(
WithdrawalRequest memory
)
Copied!
This function provides detailed information about a pending withdrawal.
Function Arguments
Name
Type
Description
id
uint256
The ID of a pending withdrawal.
Return Variables
This function returns a list of information about the pending withdrawal.
Example response:
1
tuple : 0x04444499F1Cf0C0264664B43977ED08fEee22222,0xAB05Cf7C6c3a288cd36326e4f7b8600e7268E344,0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C,1652132072,35689994719818965491542,35693378174384324203302
Copied!
Variable Type
Returns
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.
Previous
isReadyForWithdrawal()
Next
withdrawalAmounts()
Last modified
19d ago
Copy link
Contents
Function withdrawalRequest()
Function Arguments
Return Variables