WIP
Methods
- deposit
- withdraw
- approve
- balance_of
- transfer
- transfer_from
- allowance
deposit
Wraps the selected amount of IP to WIP. The WIP will be deposited to the wallet that transferred the IP.| Method |
|---|
deposit |
amount: The amount to deposit.tx_options: [Optional] Transaction options dictionary.
withdraw
Unwraps the selected amount of WIP to IP.| Method |
|---|
withdraw |
amount: The amount to withdraw.tx_options: [Optional] Transaction options dictionary.
approve
Approve a spender to use the wallet’s WIP balance.| Method |
|---|
approve |
amount: The amount of WIP tokens to approve.spender: The address that will use the WIP tokens.tx_options: [Optional] Transaction options dictionary.
balance_of
Returns the balance of WIP for an address.| Method |
|---|
balance_of |
address: The address you want to check the balance for.
transfer
Transfersamount of WIP to a recipient to.
| Method |
|---|
transfer |
to: Who you’re transferring to.amount: The amount to transfer.tx_options: [Optional] Transaction options dictionary.
transfer_from
Transfersamount of WIP from from to a recipient to.
| Method |
|---|
transfer_from |
to: Who you’re transferring to.amount: The amount to transfer.from_address: The address to transfer from.tx_options: [Optional] Transaction options dictionary.
allowance
Returns the amount of WIP tokens thatspender is allowed to spend on behalf of owner.
| Method |
|---|
allowance |
owner: The address of the token owner.spender: The address of the spender.

