Scorum
|
Wallet NFT API. More...
Wallet NFT API.
annotated_signed_transaction scorum::wallet::wallet_api::adjust_nft_experience | ( | const std::string & | moderator, |
const uuid_type & | uuid, | ||
int32_t | experience, | ||
bool | broadcast | ||
) | const |
This method will adjust experience of an existing NFT object
moderator | moderator account |
uuid | uuid of the NFT object |
experience | experience |
broadcast | true if you wish to broadcast the transaction |
Definition at line 3518 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::create_game_round | ( | const std::string & | owner, |
const uuid_type & | uuid, | ||
const std::string & | verification_key, | ||
const std::string & | seed, | ||
bool | broadcast | ||
) | const |
Create a new game round object
owner | account name of the game round owner |
uuid | UUID of the new game round |
verification_key | verification key |
seed | seed for random generator |
broadcast | true if you wish to broadcast the transaction |
Definition at line 3580 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::create_nft | ( | const std::string & | owner, |
const uuid_type & | uuid, | ||
const std::string & | name, | ||
int32_t | initial_power, | ||
const std::string & | json_meta, | ||
bool | broadcast | ||
) | const |
This method will create new NFT object
owner | account creating the new NFT object |
uuid | uuid of the new NFT object |
name | name of the new NFT object |
initial_power | initial power of the new NFT object |
json_meta | JSON metadata associated with the new NFT object |
broadcast | true if you wish to broadcast the transaction |
Definition at line 3476 of file wallet.cpp.
game_round_api_obj scorum::wallet::wallet_api::get_game_round_by_uuid | ( | const uuid_type & | uuid | ) | const |
Get game round by uuid object
uuid | UUID of the game round |
Definition at line 3624 of file wallet.cpp.
nft_api_obj scorum::wallet::wallet_api::get_nft_by_id | ( | int64_t | id | ) | const |
Get NFT object by id
id | id of the NFT object |
Definition at line 3556 of file wallet.cpp.
nft_api_obj scorum::wallet::wallet_api::get_nft_by_name | ( | const account_name_type & | name | ) | const |
Get NFT object by name
name | name of the NFT object |
Definition at line 3562 of file wallet.cpp.
nft_api_obj scorum::wallet::wallet_api::get_nft_by_uuid | ( | const uuid_type & | uuid | ) | const |
Get NFT object by uuid
uuid | UUID of the NFT object |
Definition at line 3568 of file wallet.cpp.
std::vector< game_round_api_obj > scorum::wallet::wallet_api::lookup_game_round | ( | int64_t | from, |
uint32_t | limit | ||
) | const |
Retrieve list of game rounds in range [from, from+limit-1]
from | lower bound game round id |
limit | limit number of objects in response |
Definition at line 3630 of file wallet.cpp.
std::vector< nft_api_obj > scorum::wallet::wallet_api::lookup_nft | ( | int64_t | from, |
uint32_t | limit | ||
) | const |
Retrieve list of NFT objects in range [from, from+limit-1]
from | lower bound NFT id |
limit | limit number of objects in response |
Definition at line 3574 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::update_game_round_result | ( | const std::string & | owner, |
const uuid_type & | uuid, | ||
const std::string & | proof, | ||
const std::string & | vrf, | ||
int32_t | result, | ||
bool | broadcast | ||
) | const |
This method will update game round result
owner | account name of the game round owner |
uuid | UUID of the game round |
proof | VRF proof |
vrf | VRF |
result | result |
broadcast | true if you wish to broadcast the transaction |
Definition at line 3601 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::update_nft_meta | ( | const std::string & | moderator, |
const uuid_type & | uuid, | ||
const std::string & | json_meta, | ||
bool | broadcast | ||
) | const |
This method will update json metadata of an existing NFT object
moderator | moderator account |
uuid | uuid of the NFT object |
json_meta | JSON metadata associated with the NFT |
broadcast | true if you wish to broadcast the transaction |
Definition at line 3499 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::update_nft_name | ( | const std::string & | moderator, |
const uuid_type & | uuid, | ||
const std::string & | name, | ||
bool | broadcast | ||
) | const |
This method will update name of an existing NFT object
moderator | moderator account |
uuid | uuid of the NFT object |
name | name associated with the NFT |
broadcast | true if you wish to broadcast the transaction |
Definition at line 3537 of file wallet.cpp.