Embedded Wallet API
Indexer
Indexer Installation
Tokens API
Wallet transaction history
Tokens in a contract
Contract token history
Native network balances (ie. ETH, MATIC, etc.)
Metadata Tips & Notes on Spam
Marketplace API
Metadata API
Node Gateway
Relayer API
=18?(p-=18,w+=1,this.words[w]|=v>>>26):p+=8;else{var h=l.length-x;for(C=h%2===0?x+1:x;C w)for(this.length-=w,f=0;f p&&(x=1);break}}return x},s.prototype.gtn=function(l){return this.cmpn(l)===1},s.prototype.gt=function(l){return this.cmp(l)===1},s.prototype.gten=function(l){return this.cmpn(l)>=0},s.prototype.gte=function(l){return this.cmp(l)>=0},s.prototype.ltn=function(l){return this.cmpn(l)===-1},s.prototype.lt=function(l){return this.cmp(l)===-1},s.prototype.lten=function(l){return this.cmpn(l)<=0},s.prototype.lte=function(l){return this.cmp(l)<=0},s.prototype.eqn=function(l){return this.cmpn(l)===0},s.prototype.eq=function(l){return this.cmp(l)===0},s.red=function(l){return new re(l)},s.prototype.toRed=function(l){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(l){return this.red=l,this},s.prototype.forceRed=function(l){return n(!this.red,"Already a number in reduction context"),this._forceRed(l)},s.prototype.redAdd=function(l){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},s.prototype.redIAdd=function(l){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},s.prototype.redSub=function(l){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},s.prototype.redISub=function(l){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},s.prototype.redShl=function(l){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},s.prototype.redMul=function(l){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},s.prototype.redIMul=function(l){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(l){return n(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var L={k256:null,p224:null,p192:null,p25519:null};function z(M,l){this.name=M,this.p=new s(l,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}z.prototype._tmp=function(){var l=new s(null);return l.words=new Array(Math.ceil(this.n/13)),l},z.prototype.ireduce=function(l){var x=l,y;do this.split(x,this.tmp),x=this.imulK(x),x=x.iadd(this.tmp),y=x.bitLength();while(y>this.n);var C=y =18?(p-=18,w+=1,this.words[w]|=v>>>26):p+=8;else{var h=l.length-x;for(C=h%2===0?x+1:x;C w)for(this.length-=w,f=0;f p&&(x=1);break}}return x},s.prototype.gtn=function(l){return this.cmpn(l)===1},s.prototype.gt=function(l){return this.cmp(l)===1},s.prototype.gten=function(l){return this.cmpn(l)>=0},s.prototype.gte=function(l){return this.cmp(l)>=0},s.prototype.ltn=function(l){return this.cmpn(l)===-1},s.prototype.lt=function(l){return this.cmp(l)===-1},s.prototype.lten=function(l){return this.cmpn(l)<=0},s.prototype.lte=function(l){return this.cmp(l)<=0},s.prototype.eqn=function(l){return this.cmpn(l)===0},s.prototype.eq=function(l){return this.cmp(l)===0},s.red=function(l){return new re(l)},s.prototype.toRed=function(l){return n(!this.red,"Already a number in reduction context"),n(this.negative===0,"red works only with positives"),l.convertTo(this)._forceRed(l)},s.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(l){return this.red=l,this},s.prototype.forceRed=function(l){return n(!this.red,"Already a number in reduction context"),this._forceRed(l)},s.prototype.redAdd=function(l){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},s.prototype.redIAdd=function(l){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},s.prototype.redSub=function(l){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},s.prototype.redISub=function(l){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},s.prototype.redShl=function(l){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},s.prototype.redMul=function(l){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},s.prototype.redIMul=function(l){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},s.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(l){return n(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var L={k256:null,p224:null,p192:null,p25519:null};function z(M,l){this.name=M,this.p=new s(l,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}z.prototype._tmp=function(){var l=new s(null);return l.words=new Array(Math.ceil(this.n/13)),l},z.prototype.ireduce=function(l){var x=l,y;do this.split(x,this.tmp),x=this.imulK(x),x=x.iadd(this.tmp),y=x.bitLength();while(y>this.n);var C=y=0;p--){for(var m=x.words[p],I=f-1;I>=0;I--){var d=m>>I&1;if(w!==C[0]&&(w=this.sqr(w)),d===0&&v===0){h=0;continue}v<<=1,v|=d,h++,!(h!==y&&(p!==0||I!==0))&&(w=this.mul(w,C[v]),h=0,v=0)}f=26}return w},re.prototype.convertTo=function(l){var x=l.umod(this.m);return x===l?x.clone():x},re.prototype.convertFrom=function(l){var x=l.clone();return x.red=null,x},s.mont=function(l){return new be(l)};function be(M){re.call(this,M),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(be,re),be.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},be.prototype.convertFrom=function(l){var x=this.imod(l.mul(this.rinv));return x.red=null,x},be.prototype.imul=function(l,x){if(l.isZero()||x.isZero())return l.words[0]=0,l.length=1,l;var y=l.imul(x),C=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=y.isub(C).iushrn(this.shift),w=p;return p.cmp(this.m)>=0?w=p.isub(this.m):p.cmpn(0)<0&&(w=p.iadd(this.m)),w._forceRed(this)},be.prototype.mul=function(l,x){if(l.isZero()||x.isZero())return new s(0)._forceRed(this);var y=l.mul(x),C=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=y.isub(C).iushrn(this.shift),w=p;return p.cmp(this.m)>=0?w=p.isub(this.m):p.cmpn(0)<0&&(w=p.iadd(this.m)),w._forceRed(this)},be.prototype.invm=function(l){var x=this.imod(l._invmp(this.m).mul(this.r2));return x._forceRed(this)}})(r,Lu)})(nf);var $p=nf.exports;const oe=Xi($p),zp="logger/5.7.0";let p0=!1,x0=!1;const wa={debug:1,default:2,info:2,warning:3,error:4,off:5};let b0=wa.default,Go=null;function Kp(){try{const r=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{r.push(e)}}),r.length)throw new Error("missing "+r.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(r){return r.message}return null}const m0=Kp();var gc;(function(r){r.DEBUG="DEBUG",r.INFO="INFO",r.WARNING="WARNING",r.ERROR="ERROR",r.OFF="OFF"})(gc||(gc={}));var Ar;(function(r){r.UNKNOWN_ERROR="UNKNOWN_ERROR",r.NOT_IMPLEMENTED="NOT_IMPLEMENTED",r.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",r.NETWORK_ERROR="NETWORK_ERROR",r.SERVER_ERROR="SERVER_ERROR",r.TIMEOUT="TIMEOUT",r.BUFFER_OVERRUN="BUFFER_OVERRUN",r.NUMERIC_FAULT="NUMERIC_FAULT",r.MISSING_NEW="MISSING_NEW",r.INVALID_ARGUMENT="INVALID_ARGUMENT",r.MISSING_ARGUMENT="MISSING_ARGUMENT",r.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",r.CALL_EXCEPTION="CALL_EXCEPTION",r.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",r.NONCE_EXPIRED="NONCE_EXPIRED",r.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",r.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",r.TRANSACTION_REPLACED="TRANSACTION_REPLACED",r.ACTION_REJECTED="ACTION_REJECTED"})(Ar||(Ar={}));const w0="0123456789abcdef";let B=class Tt{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const n=e.toLowerCase();wa[n]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(b0>wa[n])&&console.log.apply(console,t)}debug(...e){this._log(Tt.levels.DEBUG,e)}info(...e){this._log(Tt.levels.INFO,e)}warn(...e){this._log(Tt.levels.WARNING,e)}makeError(e,t,n){if(x0)return this.makeError("censored error",t,{});t||(t=Tt.errors.UNKNOWN_ERROR),n||(n={});const i=[];Object.keys(n).forEach(c=>{const u=n[c];try{if(u instanceof Uint8Array){let g="";for(let b=0;b=0;p--){for(var m=x.words[p],I=f-1;I>=0;I--){var d=m>>I&1;if(w!==C[0]&&(w=this.sqr(w)),d===0&&v===0){h=0;continue}v<<=1,v|=d,h++,!(h!==y&&(p!==0||I!==0))&&(w=this.mul(w,C[v]),h=0,v=0)}f=26}return w},re.prototype.convertTo=function(l){var x=l.umod(this.m);return x===l?x.clone():x},re.prototype.convertFrom=function(l){var x=l.clone();return x.red=null,x},s.mont=function(l){return new be(l)};function be(M){re.call(this,M),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i(be,re),be.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},be.prototype.convertFrom=function(l){var x=this.imod(l.mul(this.rinv));return x.red=null,x},be.prototype.imul=function(l,x){if(l.isZero()||x.isZero())return l.words[0]=0,l.length=1,l;var y=l.imul(x),C=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=y.isub(C).iushrn(this.shift),w=p;return p.cmp(this.m)>=0?w=p.isub(this.m):p.cmpn(0)<0&&(w=p.iadd(this.m)),w._forceRed(this)},be.prototype.mul=function(l,x){if(l.isZero()||x.isZero())return new s(0)._forceRed(this);var y=l.mul(x),C=y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),p=y.isub(C).iushrn(this.shift),w=p;return p.cmp(this.m)>=0?w=p.isub(this.m):p.cmpn(0)<0&&(w=p.iadd(this.m)),w._forceRed(this)},be.prototype.invm=function(l){var x=this.imod(l._invmp(this.m).mul(this.r2));return x._forceRed(this)}})(r,Lu)})(nf);var $p=nf.exports;const oe=Xi($p),zp="logger/5.7.0";let p0=!1,x0=!1;const wa={debug:1,default:2,info:2,warning:3,error:4,off:5};let b0=wa.default,Go=null;function Kp(){try{const r=[];if(["NFD","NFC","NFKD","NFKC"].forEach(e=>{try{if("test".normalize(e)!=="test")throw new Error("bad normalize")}catch{r.push(e)}}),r.length)throw new Error("missing "+r.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(r){return r.message}return null}const m0=Kp();var gc;(function(r){r.DEBUG="DEBUG",r.INFO="INFO",r.WARNING="WARNING",r.ERROR="ERROR",r.OFF="OFF"})(gc||(gc={}));var Ar;(function(r){r.UNKNOWN_ERROR="UNKNOWN_ERROR",r.NOT_IMPLEMENTED="NOT_IMPLEMENTED",r.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",r.NETWORK_ERROR="NETWORK_ERROR",r.SERVER_ERROR="SERVER_ERROR",r.TIMEOUT="TIMEOUT",r.BUFFER_OVERRUN="BUFFER_OVERRUN",r.NUMERIC_FAULT="NUMERIC_FAULT",r.MISSING_NEW="MISSING_NEW",r.INVALID_ARGUMENT="INVALID_ARGUMENT",r.MISSING_ARGUMENT="MISSING_ARGUMENT",r.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",r.CALL_EXCEPTION="CALL_EXCEPTION",r.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",r.NONCE_EXPIRED="NONCE_EXPIRED",r.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",r.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",r.TRANSACTION_REPLACED="TRANSACTION_REPLACED",r.ACTION_REJECTED="ACTION_REJECTED"})(Ar||(Ar={}));const w0="0123456789abcdef";let B=class Tt{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const n=e.toLowerCase();wa[n]==null&&this.throwArgumentError("invalid log level name","logLevel",e),!(b0>wa[n])&&console.log.apply(console,t)}debug(...e){this._log(Tt.levels.DEBUG,e)}info(...e){this._log(Tt.levels.INFO,e)}warn(...e){this._log(Tt.levels.WARNING,e)}makeError(e,t,n){if(x0)return this.makeError("censored error",t,{});t||(t=Tt.errors.UNKNOWN_ERROR),n||(n={});const i=[];Object.keys(n).forEach(c=>{const u=n[c];try{if(u instanceof Uint8Array){let g="";for(let b=0;bDeploy an in-game collectibles contract
diff --git a/guides/template-marketplace-api/index.html b/guides/template-marketplace-api/index.html
index fddb2f032f..254ecee14b 100644
--- a/guides/template-marketplace-api/index.html
+++ b/guides/template-marketplace-api/index.html
@@ -12,8 +12,8 @@
-
-
+
+