@neuraiproject/neurai-rpc 0.4.5 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +128 -0
- package/DEPIN_IMPLEMENTATION_GUIDE_EN.md +927 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/docs.json +5 -5
- package/docs.ts +1118 -1118
- package/neurai_methods.md +7 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -167,7 +167,7 @@ Examples:
|
|
|
167
167
|
Check if a DEPIN asset is valid/active for a specific address
|
|
168
168
|
|
|
169
169
|
Arguments:
|
|
170
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
170
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
171
171
|
2. "address" (string, required) The address to check
|
|
172
172
|
|
|
173
173
|
Result:
|
|
@@ -1037,10 +1037,10 @@ Freeze a DEPIN asset for a specific address (owner only)
|
|
|
1037
1037
|
|
|
1038
1038
|
The address will still hold the asset but it will be marked as invalid
|
|
1039
1039
|
|
|
1040
|
-
Requires the owner token (
|
|
1040
|
+
Requires the owner token (ASSET!) in the wallet
|
|
1041
1041
|
|
|
1042
1042
|
Arguments:
|
|
1043
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
1043
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
1044
1044
|
2. "address" (string, required) The address to freeze
|
|
1045
1045
|
3. "change_address" (string, optional) The change address for the owner token
|
|
1046
1046
|
|
|
@@ -3156,7 +3156,7 @@ Returns all addresses holding a DEPIN asset with validity status
|
|
|
3156
3156
|
DEPIN assets are soulbound (non-transferable except by owner) and can be frozen/revoked
|
|
3157
3157
|
|
|
3158
3158
|
Arguments:
|
|
3159
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
3159
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
3160
3160
|
|
|
3161
3161
|
Result:
|
|
3162
3162
|
[
|
|
@@ -3816,7 +3816,7 @@ The asset will be marked as invalid but will remain in the address
|
|
|
3816
3816
|
This action can only be undone by the asset owner
|
|
3817
3817
|
|
|
3818
3818
|
Arguments:
|
|
3819
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
3819
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
3820
3820
|
|
|
3821
3821
|
Result:
|
|
3822
3822
|
"txid" (string) The transaction id
|
|
@@ -4356,10 +4356,10 @@ Unfreeze a DEPIN asset for a specific address (owner only)
|
|
|
4356
4356
|
|
|
4357
4357
|
The asset will be marked as valid again
|
|
4358
4358
|
|
|
4359
|
-
Requires the owner token (
|
|
4359
|
+
Requires the owner token (ASSET!) in the wallet
|
|
4360
4360
|
|
|
4361
4361
|
Arguments:
|
|
4362
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
4362
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
4363
4363
|
2. "address" (string, required) The address to unfreeze
|
|
4364
4364
|
3. "change_address" (string, optional) The change address for the owner token
|
|
4365
4365
|
|