API
Base endpoint: https://server-aptos-sdk.lync.world/api
https://server-aptos-sdk.lync.world/apiGet API Keys from LYNC Support
Create a new wallet
Endpoint: https://server-aptos-sdk.lync.world/api/generate_wallet/create_wallet
Method: POST
Headers:
{
"Content-Type": "application/json",
"Accept": "application/json",
"x-api-key": "Get this from LYNC Support"
}Request:
{
"email":"team@lync.world",
"network": 2,
"apiKey": "Get this from lync support"
}Parameters:
email: Your email addressnetwork: Aptos network (1for Mainnet &2for Testnet)apiKey: Your api key. Get this from LYNC support
Response:
Get an existing wallet
Endpoint: https://server-aptos-sdk.lync.world/api/generate_wallet/get_wallet
Method: POST
Headers:
Request:
Parameters:
email: Your email addressnetwork: Aptos network (1for Mainnet &2for Testnet)apiKey: Your api key. Get this from LYNC support
Response:
Perform a transaction
Endpoint: https://server-aptos-sdk.lync.world/api/unity/txn2
Method: POST
Headers:
Request:
Parameters:
apiKey: Your api key. Get this from LYNC supportcontractAddress: Smart contract address deployed to the Aptos blockchainprivateKey: Your private keycontractName: Name of the module undercontractAddressfunctionName: Name of the function to callarguments: Argument array to be passed in the transaction payload{ "argument": value, "type": BigInteger = 0, Integer = 1 and String = 2 }network: Network on which the contract is deployed. (1for Mainnet &2for Testnet)usePaymaster:trueto sponsor transaction,falseif user pays for gas fee
Response:
Last updated