0x-api
0x-api copied to clipboard
Submitting a meta transaction without an API key header gives partial tx with hexadecimal numbers
Submitting a meta transaction to meta_transaction/v0/submit
without providing an 0x-api-key
header returns a partial transaction with hexadecimal numbers for gas
, gasPrice
, value
Expected Behavior
POST /meta_transaction/v0/submit
{
"code": 106,
"ethereumTransaction": {
"data": "0xdeadbeef",
"gas": "265080",
"gasPrice": "35000000000",
"to": "0x....",
"value": "10500000000000000"
},
"reason": "Unable to submit transaction on behalf of taker"
}
Current Behavior
POST /meta_transaction/v0/submit
{
"code": 106,
"ethereumTransaction": {
"data": "0xdeadbeef",
"gas": "0x40b78",
"gasPrice": "0x826299e00",
"to": "0x....",
"value": "0x254db1c2244000"
},
"reason": "Unable to submit transaction on behalf of taker"
}