MRC402(NFT)
MRC-402 is Token like NFT
Support mixed assets for NFT.
Mixed Assets
Copyright Information
Burn
Mint
Transfer
Melt
Support various media
Support Platform
Support ShareHolder
MRC400 Token ID
successful operation
Transaction ID
MRC400 not found
POST /mrc402 HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}MRC402 Token ID
MRC400_db7da6bc848ba62e621aede40f75dc760_0000000000000000000000000000000000000001successful operation
Only designated tokens and Metacoin (Token ID: 0) can be used for MRC401 token auctions and sales under this MRC400 token
This value refers to the classification in which the MRC400 token is used. It does not affect Metacoin or Metacoin-based blockchains.
MRC400 Token generation time.
MRC400 not found
GET /mrc402/{mrc402id} HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"allow_token": "text",
"category": "text",
"createdate": 1,
"data": "text",
"description": "text",
"image_url": "text",
"name": "text",
"owner": "text",
"url": "text",
"item_image_url": "text",
"item_url": "text"
}MRC402 Token ID
Current owner of item MRC402
Address to receive ownership of MRC402 token
Temporary key for Sign(return value of GET /getkey/transfer)
- ECDSA sign for concat fromAddr, toAddr, url, tkey
- ex) ecdsa_sign(privatekey of owner address, fromAddr +'|'+ toAddr +'|'+ mrc402id +'|'+tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/transfer/{mrc402id}?fromAddr=text&toAddr=text&tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}- Sell MRC402 tokens.
- If other users purchase tokens, they will receive the specified amount of sales.
- If
sell_feeis 10, 10% of the transaction amount will be transferred to the MRC400 token holder designated in the MRC402 token, and only 90% of the fee excluding the 10% fee will be received by the MRC402 token holder. - If the value of
sell_feeis 0, no commission is paid.
- MRC400 Token ID
- The mrc400 token ID of the mrc402 item specified in itemdata.
Temporary key for Sign(return value of GET /getkey/transfer)
- ECDSA sign for concat seller, itemdata, tkey
- ex) ecdsa_sign(privatekey of owner address, seller +'|'+ itemdata +'|'+ tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/sell?tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}- MRC400 Token ID
- The mrc400 token ID of the mrc402 item specified in itemdata.
MRC402 Token owner address
- MRC402 Token id list to be sale cancel
- It is the MRC402 Token belonging to the token specified in mrc400id
{"MRC400_db7da6bc848ba62e621aede40f75dc760_0000000000000000000000000000000000000001","MRC400_db7da6bc848ba62e621aede40f75dc760_0000000000000000000000000000000000000002"}Temporary key for Sign(return value of GET /getkey/transfer)
- ECDSA sign for concat seller, itemdata, tkey
- ex) ecdsa_sign(privatekey of owner address, seller +'|'+ itemdata +'|'+ tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/unsell?tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}MRC402 Token ID
MRC400_dd1605be6960d9d6ba7bbeed9da033980_0000000000000000000000000000000000000001MRC402 Token buyer address
Temporary key for Sign(return value of GET /getkey/transfer)
- ECDSA sign for concat mrc402id, tkey
- ex) ecdsa_sign(privatekey of owner address, mrc402id +'|'+ tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/buy/{mrc402id}?tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}- Melt the MRC402 token.
- Once melted, the item cannot be transferred or sold to others.
- When the MRC402 Token is created, it will be received in the owner's wallet as much as the
initial_price. - If the
meltint_feeis 10, 10% of the initial_price will be transferred to the MRC400 token holder specified in the MRC402 token, and only 90% of the fee excluding the 10% fee will be received by the MRC402 token holder. - If the value of
meltint_feeis 0, no fee is paid.
MRC402 Token ID
Temporary key for Sign(return value of GET /getkey/transfer)
- ECDSA sign for concat mrc402id, tkey
- ex) ecdsa_sign(privatekey of owner address, mrc402id +'|'+ tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/melt/{mrc402id}?tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}- Auction MRC402 tokens.
- You can cancel an auction using the /mrc402/unauction protocol.
- If there is a bidder, the auction cannot be canceled.
- If
sell_feeis 10, 10% of the transaction amount will be transferred to the MRC400 token holder designated in the MRC402 token, and only 90% of the fee excluding the 10% fee will be received by the MRC402 token holder. - If the value of
sell_feeis 0, no commission is paid.
- MRC400 Token ID
- The mrc400 token ID of the mrc402 item specified in itemdata.
Temporary key for Sign(return value of GET /getkey/transfer)
- ECDSA sign for concat seller, itemdata, tkey
- ex) ecdsa_sign(privatekey of owner address, seller +'|'+ itemdata +'|'+ tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/auction?tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}- If there is a bidder, the auction cannot be canceled.
- MRC400 Token ID
- The mrc400 token ID of the mrc402 item specified in itemdata.
MRC402 Token owner address
- MRC402 Token id list to be sale cancel
- It is the MRC402 Token belonging to the token specified in mrc400id
{"MRC400_db7da6bc848ba62e621aede40f75dc760_0000000000000000000000000000000000000001","MRC400_db7da6bc848ba62e621aede40f75dc760_0000000000000000000000000000000000000002"}Temporary key for Sign(return value of GET /getkey/transfer)
- ECDSA sign for concat seller, itemdata, tkey
- ex) ecdsa_sign(privatekey of owner address, seller +'|'+ itemdata +'|'+ tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/unauction?tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}MRC402 Token ID
MRC400_dd1605be6960d9d6ba7bbeed9da033980_0000000000000000000000000000000000000001MRC402 Token auction bidder address
Temporary key for Sign(return value of GET /getkey/transfer)
- auction bid amount
- If there are no bidders, it must be equal to or greater than the starting price of the auction.
- If there is a bidder, it must be greater than the current bid amount.
- The bid amount must be equal to the auction opening price or the auction opening price plus a multiple of the auction bid units.
- If there are no bidders and the auction start price is 100 and the bid unit is 5, it must be 100, 105, 110, ...
- If there is a bidder, the current bid is 120, the auction starting price is 100, and the bid unit is 5, it should be 125, 130, 135, ...
100- This value should be the ID of the token specified to be used in the auction.
0- ECDSA sign for concat mrc402id, amount, token, tkey
- ex) ecdsa_sign(privatekey of owner address, mrc402id +'|'+ amount + '|' + token + '|' + tkey)
successful operation
Transaction ID
MRC400 not found
POST /mrc402/bid/{mrc402id}?tkey=text&signature=text HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}- Process the auction closing.
- This replaces the JobScheduler inside the BlockChain.
- It can be called without permission or signature, and the auction is closed according to the already established procedure.
- If you call it before the auction end time, you will get an error.
- If you call for an auction that has already ended, you will get an error.
MRC402 Token ID
MRC400_dd1605be6960d9d6ba7bbeed9da033980_0000000000000000000000000000000000000001successful operation
Transaction ID
MRC400 not found
GET /mrc402/auctionfinish/{mrc402id} HTTP/1.1
Host: rest.metacoin.network:20923
Accept: */*
{
"transaction_id": "text"
}Last updated