Skip to content

Avatar Tables ​

accavatar ​

Store all account avatar

  • Code: ultra.avatar
  • Table: accavatar
  • Scope: ultra.avatar
  • Key: account
  • Data
FieldsTypeDescription
accounteosio::nameUser Account
nft_iduint64_tThe ID of user's Uniq
  • cleos Query Example
shell
cleos get table ultra.avatar ultra.avatar accavatar
  • curl query example
shell
curl <NODEOS_API_IP>/v1/chain/get_table_rows -X POST -d '{"scope":"ultra.avatar", "code":"ultra.avatar", "table":"accavatar", "json": true}'

accusername ​

Store all account username

  • Code: ultra.avatar
  • Table: accusername
  • Scope: ultra.avatar
  • Key: account
  • Data
FieldsTypeDescription
accounteosio::nameUser Account
usernamestringName of user
  • cleos Query Example
shell
cleos get table ultra.avatar ultra.avatar accusername
  • curl query example
shell
curl <NODEOS_API_IP>/v1/chain/get_table_rows -X POST -d '{"scope":"ultra.avatar", "code":"ultra.avatar", "table":"accusername", "json": true}'

accethaddr ​

Store all account ETH address

  • Code: ultra.avatar
  • Table: accethaddr
  • Scope: ultra.avatar
  • Key: account
  • Data
FieldsTypeDescription
accounteosio::nameUser Account
eth_addressstd::vector<uint8_t>ETH address of user
  • cleos Query Example
shell
cleos get table ultra.avatar ultra.avatar accethaddr
  • curl query example
shell
curl <NODEOS_API_IP>/v1/chain/get_table_rows -X POST -d '{"scope":"ultra.avatar", "code":"ultra.avatar", "table":"accethaddr", "json": true}'