@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.cjs
CHANGED
|
@@ -176,7 +176,7 @@ Examples:
|
|
|
176
176
|
Check if a DEPIN asset is valid/active for a specific address
|
|
177
177
|
|
|
178
178
|
Arguments:
|
|
179
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
179
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
180
180
|
2. "address" (string, required) The address to check
|
|
181
181
|
|
|
182
182
|
Result:
|
|
@@ -1046,10 +1046,10 @@ Freeze a DEPIN asset for a specific address (owner only)
|
|
|
1046
1046
|
|
|
1047
1047
|
The address will still hold the asset but it will be marked as invalid
|
|
1048
1048
|
|
|
1049
|
-
Requires the owner token (
|
|
1049
|
+
Requires the owner token (ASSET!) in the wallet
|
|
1050
1050
|
|
|
1051
1051
|
Arguments:
|
|
1052
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
1052
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
1053
1053
|
2. "address" (string, required) The address to freeze
|
|
1054
1054
|
3. "change_address" (string, optional) The change address for the owner token
|
|
1055
1055
|
|
|
@@ -3165,7 +3165,7 @@ Returns all addresses holding a DEPIN asset with validity status
|
|
|
3165
3165
|
DEPIN assets are soulbound (non-transferable except by owner) and can be frozen/revoked
|
|
3166
3166
|
|
|
3167
3167
|
Arguments:
|
|
3168
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
3168
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
3169
3169
|
|
|
3170
3170
|
Result:
|
|
3171
3171
|
[
|
|
@@ -3825,7 +3825,7 @@ The asset will be marked as invalid but will remain in the address
|
|
|
3825
3825
|
This action can only be undone by the asset owner
|
|
3826
3826
|
|
|
3827
3827
|
Arguments:
|
|
3828
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
3828
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
3829
3829
|
|
|
3830
3830
|
Result:
|
|
3831
3831
|
"txid" (string) The transaction id
|
|
@@ -4365,10 +4365,10 @@ Unfreeze a DEPIN asset for a specific address (owner only)
|
|
|
4365
4365
|
|
|
4366
4366
|
The asset will be marked as valid again
|
|
4367
4367
|
|
|
4368
|
-
Requires the owner token (
|
|
4368
|
+
Requires the owner token (ASSET!) in the wallet
|
|
4369
4369
|
|
|
4370
4370
|
Arguments:
|
|
4371
|
-
1. "asset_name" (string, required) The DEPIN asset name
|
|
4371
|
+
1. "asset_name" (string, required) The DEPIN asset name
|
|
4372
4372
|
2. "address" (string, required) The address to unfreeze
|
|
4373
4373
|
3. "change_address" (string, optional) The change address for the owner token
|
|
4374
4374
|
|