ERC20 - FIL loan operations
Confirm loan operation
POST
https://localhost:3000/api/operation/lend/ERC20/confirm
Request Body
Name | Type | Description |
---|---|---|
networkId | string | Network identifier |
operation | string | 'CreateLoanOffer', 'ApproveRequest', 'Withdraw', 'Payback', 'AcceptRepayment', 'RefundPayback', 'CancelLoan' |
txHash | string | Loan event hash |
Confirm lock collateral operation
POST
https://localhost:3000/api/operation/lend/ERC20/lockCollateral/confirm
Request Body
Name | Type | Description |
---|---|---|
signature | object | Signature of the message |
message | object | Lotus message |
Confirm seize collateral voucher operation
POST
https://localhost:3000/api/operation/lend/ERC20/signSeizeCollateralVoucher/confirm
Request Body
Name | Type | Description |
---|---|---|
signedVoucher | string | Signed voucher base64 |
paymentChannelId | string | Payment channel ID |
Confirm unlock collateral voucher operation
POST
https://localhost:3000/api/operation/lend/ERC20/signUnlockVoucher/confirm
Request Body
Name | Type | Description |
---|---|---|
signedVoucher | string | Signed voucher base64 |
paymentChannelId | string | Payment channel ID |
Confirm settle unlock collateral operation
POST
https://localhost:3000/api/operation/lend/ERC20/settleUnlockCollateral/confirm
Request Body
Name | Type | Description |
---|---|---|
CID | string | Loan event hash |
network | string | Filecoin network |
Confirm collect unlock collateral operation
POST
https://localhost:3000/api/operation/lend/ERC20/collectUnlockCollateral/confirm
Request Body
Name | Type | Description |
---|---|---|
CID | string | Loan event hash |
network | string | Filecoin network |
Confirm redeen seize collateral operation
POST
https://localhost:3000/api/operation/lend/ERC20/redeemSeizeCollateralVoucher/confirm
Request Body
Name | Type | Description |
---|---|---|
CID | string | Loan event hash |
network | string | Filecoin network |
Confirm settle seize collateral operation
POST
https://localhost:3000/api/operation/lend/ERC20/settleSeizeCollateral/confirm
Request Body
Name | Type | Description |
---|---|---|
CID | string | Loan event hash |
network | string | Filecoin network |
Confirm collect seize collateral operation
POST
https://localhost:3000/api/operation/lend/ERC20/collectSeizeCollateral/confirm
Request Body
Name | Type | Description |
---|---|---|
CID | string | Loan event hash |
network | string | Filecoin network |
Last updated