#
VDXF Commands
#
getvdxfid
Category: VDXF | Version: v1.2.14+
Returns the VDXF key (i-address) of a URI string. VDXF (Verus Data Exchange Format) provides a universal namespace for data keys.
Syntax
getvdxfid "vdxfuri" ({"vdxfkey":"i-address", "uint256":"hexstr", "indexnum":0})
Parameters
Result
{
"vdxfid": "iAddress",
"indexid": "xAddress",
"hash160result": "hex",
"qualifiedname": {
"namespace": "i-address",
"name": "string"
}
}
Examples
verus -testnet getvdxfid "vrsc::system.agent.profile"
Testnet output:
{
"vdxfid": "iKLo9XnNwzec2dj92kX9QQpng5EfU8XHxo",
"indexid": "xQAucLDToJsGeocAtSBJNoMKhjFgN49Nm1",
"hash160result": "30b5577487b05178ce95aac28940d78187cd0bae",
"qualifiedname": {
"namespace": "i5w5MuNik5NtLcYmNzcvaoixooEebB6MGV",
"name": "vrsc::system.agent.profile"
}
}
verus -testnet getvdxfid "vrsc::system.currency.export"
Testnet output:
{
"vdxfid": "iLY9mLpjMHy94rcJk4roxoNgRLSqhJeHFz",
"indexid": "xRNGE9FpCcBoh2VLbkWxwBuDSzTrZUN94D",
"hash160result": "dcb11f97bce0c8734d92da7b0f5551acfbb629bb",
"qualifiedname": {
"namespace": "i5w5MuNik5NtLcYmNzcvaoixooEebB6MGV",
"name": "vrsc::system.currency.export"
}
}
Common Errors
Related Commands
getidentity— Get identity with VDXF content
Notes
- VDXF provides a decentralized, collision-resistant namespace for data keys.
- The
namespacein the result (e.g.,i5w5MuNik5NtLcYmNzcvaoixooEebB6MGV) represents the VRSC root namespace. - URIs follow the format
namespace::category.subcategory.name. - The
vdxfid(i-address) is the canonical identifier used in VerusID content maps and other VDXF data structures. - Optional binding parameters (
vdxfkey,uint256,indexnum) create compound keys by hashing additional data with the base key.
Tested On
- VRSCTEST — Block height: 926996 | Version: v1.2.14-2