Skip to content

KYC Tables

kyc

  • Code: eosio.kyc
  • Table: kyc
  • Scope: user
  • Key: provider
  • Data
FieldsTypeDescription
providereosio::nameKYC Provider who user registered
cert_ideosio::checksum256User KYC data
req_signatureeosio::signatureUser signature
pro_signatureeosio::signatureProvider signature
  • cleos Query Example
shell
cleos get table eosio.kyc <USER> kyc
  • curl query example
shell
curl <NODEOS_API_IP>/v1/chain/get_table_rows -X POST -d '{"scope":"<USER>", "code":"eosio.kyc", "table":"kyc", "json": true}'

kyc.state

  • Code: eosio.kyc
  • Table: kyc.state
  • Scope: eosio.kyc
  • Data
FieldsTypeDescription
is_enabledboolKYC state
  • cleos Query Example
shell
cleos get table eosio.kyc eosio.kyc kyc.state
  • curl query example
shell
curl <NODEOS_API_IP>/v1/chain/get_table_rows -X POST -d '{"scope":"eosio.kyc", "code":"eosio.kyc", "table":"kyc.state", "json": true}'