-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
When using runGetMethod in TONCenter API v2, results in an error.
v3 Success Case:
curl -X POST https://toncenter.com/api/v3/runGetMethod -H "Content-Type: application/json" -d '{
"address": "EQBo3W19O92qLjdoYbERATFtQUh1Qp_NZJ6JU_lXyLnGUJT_",
"method": "get_wallet_address",
"stack": [{"type": "slice", "value": "te6ccgEBAQEAJAAAQ4AOz6JO+b3YxUTj9GR1PjlHnXqU9GX413t2Sxa4MRf7pVA="}]
}'
Response: Successful with exit_code: 0.
v2 Failure Case:
curl -X POST https://toncenter.com/api/v2/runGetMethod -H "Content-Type: application/json" -d '{
"address": "EQBo3W19O92qLjdoYbERATFtQUh1Qp_NZJ6JU_lXyLnGUJT_",
"method": "get_wallet_address",
"stack": [["slice", "te6ccgEBAQEAJAAAQ4AOz6JO+b3YxUTj9GR1PjlHnXqU9GX413t2Sxa4MRf7pVA="]]
}'
Response:
{
"ok": false,
"error": "Expecting value: line 1 column 1 (char 0)",
"code": 503
}
Metadata
Metadata
Assignees
Labels
No labels