Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
Added Marketplace.Bid endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ImSeaWorld committed Mar 22, 2022
1 parent 2b6eeb1 commit 5bb0801
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions namebasejs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,14 @@ class NameBase {
domain,
});
},

Bid: (domain, hnsAmount) => {
// 0.000000 hns
return this.Call('marketplace', '{{domain}}/bid', 'POST', {
domain,
buyOfferAmount: hnsAmount,
});
},
};

Trade = {
Expand Down

0 comments on commit 5bb0801

Please sign in to comment.