RPC API
The following endpoints are available for testnet nodes:
## Subsystem URLS by function:
## Front end
## 1 web-wallet https://wallet-testnet.script.tv
## 2 blockchain explorer https://explorer-testnet.script.tv
##
## Back end
## 1 L1 ethereum bridge https://eth-node-testnet.script.tv/rpc
## 2 L1 script Ledger daemon https://node-testnet.script.tv/rpc
## 3 L1 wallet backend https://backend-wallet-testnet.script.tv/api
## 4 explorer backend https://backend-explorer-testnet.script.tv/api
Subsystem ethereum bridge
endpoint: https://eth-node-testnet.script.tv/rpc
RPC Method: script.CallSmartContract
Simulates the smart contract execution locally without submitting the smart contract transaction to the blockchain. It is useful to evaluate the execution result, calculate the gas cost, etc.
RPC Method: script.CallSmartContract
Query Parameters
sctx_bytes: the signed transaction bytes
Returns
contract_address: the address of the corresponding smart contract
gas_used: amount of gas used for the smart contract execution
vm_error: error returned by the virtual machine.
##> be_main
Last updated