9. Check Funds on Private Pool
Description
Check detailed information on funds deposited in private public liquidity pool.
TBD: Narratives
User Interface
Function Description
Item | Description |
Contract Address | Private pool contract (referenced by Smart Contract Overview section) |
Contract Name | SLDDAIPools2.sol |
Function | function getLPAmountInfo() public view returns(uint256 deposit,uint256 availabe,uint256 locked) |
Function Selector | 0x53ac2d24 |
Invocation Type | Ethereum Call |
Passing Parameters | None |
Return Value | Total deposited amount; available amount; locked amount |
ABI Description
Examples
Calling Examples
HTTP Request Example
Send a call request to get private pool info
POST
(BSC Mainnet) https://bsc-dataseed.binance.org/
Make a contract call to get deposited funds details in private pool of Shield Protocol V1. More details on how to make a contract call request via BSC RPC could be found here, https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction
Request Body
Name | Type | Description |
---|---|---|
jsonrpc | string | "2.0" |
method | string | "eth_call" |
params | array | the signed transaction data coerced into string array, for instance, |
id | number | request sequence id, you could use timestamp as id |
Request Body Example:
CURL Example:
Last updated