Grant or revoke approval to to to send a specified token. To revoke approval, enter 0x0000000000000000000000000000000000000000 for to.
You will see in Submitted in the response even when you enter the wrong token ID, the from and owner are differet. But that does not mean that it is successfully Committed. To confirm transaction status, use Get Transaction Receipt from the Wallet API.
from is the address that sends the transaction. If from is an account in the default account-pool of KIP-17 or Wallet Service, you can omit the KRN header.
Otherwise you need to include the KRN header (x-krn: krn:{chain-id}:wallet:{account-id}:account-pool:{pool name}).
Your request was successful.
Your request is not valid.
The credential you entered is invalid.
{- "from": "0x9EaF20b40E0f1ced5dbba6f5Cfb0D3E12B0534f4",
- "to": "0xDc277E2D89b92336A4ee80be3c7142443FDaDE47"
}Your request was successful.
{- "status": "Submitted",
- "transactionHash": "0x0a56e8dba1afc0cc1b96c1dec0eccc611863c5c3a181101b73f7471f2a4e550b"
}