Execute Contract
1. Request.executeContract
Parameters
Name | Type | Description |
---|---|---|
chainId | number | Chain ID of the particular network |
appName | string | Name that will appear when running the contract |
transactions | object array | Information needed to run the contract (see below for details) |
transactions 객체는 다음을 포함합니다.
Name | Type | Description |
---|---|---|
from | string | Wallet address to call the transaction |
to | string | Called contract address |
value | string | (optional) Platform coin transfer when calling abi function is payable |
abi | string | abi for generating transactions |
params | string | Parameters of the abi function to generate a transaction |
functionName | string | The name of the function you want to call on abi |
Response
Name | Type | Description |
---|---|---|
requestId | string | ID to track the operation or transaction request |
appName | number | The amount of time (in seconds) that an operation or transaction request expires. |
Example
2. createDeepLink
Parameters
Type | Description |
---|---|
string | requestId received when requesting |
Response
Type | Description |
---|---|
string | DeepLink to the request page in FAVORLET app |
Example
3. receipt
Last updated