Closed swq123 closed 4 years ago
Please provide more information about the development environment.
If you want to send a KLAY, you must set gas price 25ston. Please refer to below contents. https://docs.klaytn.com/bapp/sdk/caver-js/v1.4.1#caution-when-sending-a-transaction-to-klaytn
@swq123 If there are no other issues, this will be closed.
request
{"method":"klay_sendRawTransaction","id":1,"jsonrpc":"2.0","params":["0xf86e808504a817c80082ea6094958e2e083d6a16799e4d588015153ee429508d4f880de0b6b3a7640000808207f5a08638176342e6b99bc93d1dbda15aa5572e68e87b198efb68b8559ec24363f3d0a06b173d8f4ac24f50420d9a4b6f4cbb2f571883e00eb0b5343bb9b2ae9f5492eb"]}
response: {"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"invalid unit price"}}
RPC:https://api.baobab.klaytn.net:8651