Address
Metacoin Address and balance
Warning!!
- An ECDSA private key that is paired with the ECDSA public key is used to authorize the transfer.
- When you make your wallet, please keep the Private Key that is paired with the Public Key you sent in a safe place.
- If you lose your private key, you can not claim your wallet.
- ECDSA curve is prime256v1(secp256r1) or secp384r1 or secp521r1.
Query parameters
publickeystring · pem encodingRequired
ECDSA Public key for signing
addinfostring · max: 2048Optional
- Address memo
- Up to 2048 characters are stored, and characters after 2048 characters are not stored.
Responses
200
successful operation
*/*
405
Missing or invalid RSA key
post
/addressQuery parameters
publickeystringRequiredExample:
- Metacoin address's public key
- ignore carriage return, line feed, "-----BEGIN PUBLIC KEY-----", "-----END PUBLIC KEY-----"
-----BEGIN PUBLIC KEY-----\nMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQBBp5oHHFaATF1UIephJYgtW+u2+aT\nhZLxNgn5JZhgFXzvTUHlThZxb61eTXMMjyU/IloNznwtzRWuPq1oMDOMq9oBbT/t\nE4lgyPF5/QtzuhaaYRpr/ahZ4JSLyHOegkopXeic3UFUmkpb4mXuSGgu5mChuuUC\nktjfluGNtvXHOWYtqTU=\n-----END PUBLIC KEY-----Responses
200
successful operation
*/*
404
Address not found
post
/address/bykeyGet Temporary key(nonce) for ganerate transaction(ex Transfer, Dapp Create or Token Create)
get
/nonce/{address}
- By using the signature value recorded in the transaction, the key value is obtained to prevent duplicate calls by other users.
- In the existing blockchain, the nonce value is a serial number that means the number of TX occurrences, but in Metacoin, it is a random key value.
- This command replaces the existing "getkey" API.
Path parameters
addressstring · Metacoin addressRequired
Address to get nonce value
Responses
200
successful operation
*/*
400
address not exists
get
/nonce/{address}Last updated